Christopher Chedeau
6056170d4b
Fix wysiwyg center ( #1101 )
...
This wasn't taking into account zoom properly.
The logic should probably get refactored a bit, it's not ideal that we're passing canvas, state and scale as different arguments. Also it's weird that the function that returns the center is computing the viewport translation. But I'm not motivated enough to fix it right now...
Fixes #1100
2020-03-28 14:30:41 -07:00
..
2020-03-23 13:05:07 +02:00
2020-03-28 14:30:41 -07:00
2020-03-23 13:05:07 +02:00
2020-03-15 19:26:52 +02:00
2020-03-23 13:05:07 +02:00
2020-01-26 11:19:21 +01:00
2020-03-23 13:05:07 +02:00
2020-03-18 11:31:40 -04:00
2020-03-13 20:32:47 +01:00
2020-03-15 19:26:52 +02:00
2020-03-23 16:15:22 +01:00
2020-01-20 14:59:00 -08:00
2020-02-02 18:04:35 +00:00
2020-03-13 20:32:47 +01:00
2020-03-17 20:55:40 +01:00
2020-03-13 20:32:47 +01:00
2020-01-15 07:42:02 -08:00
2020-03-13 20:32:47 +01:00
2020-03-23 13:05:07 +02:00
2020-03-26 18:28:26 +01:00
2020-03-26 18:28:26 +01:00
2020-03-24 12:51:49 +02:00
2020-03-26 18:28:26 +01:00
2020-03-13 20:32:47 +01:00
2020-03-13 20:32:47 +01:00
2020-01-15 07:42:02 -08:00
2020-03-16 19:07:47 -07:00
2020-03-15 19:26:52 +02:00
2020-02-28 23:03:53 +01:00
2020-03-11 14:48:27 -07:00
2020-03-18 13:27:10 +01:00
2020-03-07 16:20:38 +01:00
2020-01-15 07:42:02 -08:00
2020-01-24 12:04:54 +02:00
2020-03-23 13:05:07 +02:00
2020-03-24 12:51:49 +02:00
2020-03-23 13:05:07 +02:00