picklesrus
a67f841671
Replace the call to getBBox() in getMainWorkspaceMetrics
...
with a manual calculation. getBBox() can cause the browser to
re-layout the whole page and we have much of the information
(e.g. individual block height and width) we need already cached.
Note that getBoundingRectangle's calculation is slightly different
than the one returned by getBBox. It is off by 3 in the y direction
due to how one of the curves is drawn. This new calculation is
technically more accurate.
2016-02-29 16:29:15 -08:00
Neil Fraser
fee94ae405
Allow injection based on CSS selector (based on PR 249).
2016-02-29 15:11:00 -08:00
Neil Fraser
3fe9ca6971
Merge branch 'master' into develop
2016-02-29 15:02:47 -08:00
Neil Fraser
6eb652cf70
Fix persistence of logging in playground.
2016-02-29 15:02:05 -08:00
Neil Fraser
1ae7b8e29e
Merge pull request #270 from picklesrus/scroll-master
...
Rearrange code in ScrollbarPair set so that all the getAttribute
2016-02-29 14:47:48 -08:00
picklesrus
39653b697d
Rearrange code in ScrollbarPair set so that all the getAttribute
...
calls come before all of the setAttribute calls. This gets rid
of an unnecessary layout pass on mouseMove events.
2016-02-29 10:22:51 -08:00
Niklas Laxström
73fc630244
Localisation updates from https://translatewiki.net .
2016-02-29 17:08:14 +01:00
Neil Fraser
4c542240e2
Provide default getVars and renameVar functions. Issue 265.
2016-02-27 12:28:32 -08:00
Neil Fraser
a22b936229
Fix invalid colours in Block Factory.
2016-02-26 21:20:39 -08:00
Neil Fraser
b567d6b0d7
Allow shadow blocks to be edited.
2016-02-26 00:22:31 -08:00
Neil Fraser
ea6d875c34
Merge pull request #263 from rachel-fenichel/feature/rendering_refactor
...
Extract rendering code from block_svg.
2016-02-25 18:03:14 -08:00
Neil Fraser
924047cbf0
Merge pull request #264 from rachel-fenichel/feature/connection_refactor_continue
...
Add tests for connection logic
2016-02-25 18:00:56 -08:00
Rachel Fenichel
5cb6cf5a1d
Fix js style
2016-02-25 15:30:05 -08:00
Rachel Fenichel
9263e28263
Add tests for connection logic
2016-02-25 15:16:32 -08:00
rachel-fenichel
c2f879ad14
Merge pull request #262 from rachel-fenichel/feature/connection_refactor
...
Minor connection refactor
2016-02-25 14:36:56 -08:00
Rachel Fenichel
9de572283e
Refactor: pull rendering code out of block_svg
2016-02-25 13:55:36 -08:00
Rachel Fenichel
67aa5ef5bc
Minor refactor of connection code
2016-02-25 13:37:19 -08:00
Neil Fraser
9f3824b966
Merge branch 'master' into develop
2016-02-25 11:11:37 -08:00
Neil Fraser
4d4521bed3
Fix scaled RTL coordinates.
2016-02-25 11:08:59 -08:00
Niklas Laxström
515a61e4a8
Localisation updates from https://translatewiki.net .
2016-02-25 09:10:33 +01:00
Neil Fraser
e6db687234
Fix startScale on workspaces without a fixed flyout.
2016-02-24 19:27:03 -08:00
Neil Fraser
f0d04ba16b
Fix RTL flyout events.
2016-02-24 16:52:55 -08:00
Niklas Laxström
217c7d7c8a
Localisation updates from https://translatewiki.net .
2016-02-22 08:37:18 +01:00
Siebrand Mazeland
9b6b0905c9
Localisation updates from https://translatewiki.net .
2016-02-19 14:58:43 +01:00
Neil Fraser
3e0709c89d
Merge branch 'master' into 2016
2016-02-16 22:19:54 -08:00
Neil Fraser
d404fa8c9d
Merge pull request #258 from google/2016
...
Fix issue 251, $ in ID.
2016-02-16 22:19:36 -08:00
Neil Fraser
4d882540df
Merge branch 'master' into 2016
2016-02-16 22:17:55 -08:00
Neil Fraser
aeabf0ec6f
Fix issue 251, $ in ID.
2016-02-16 22:16:36 -08:00
Neil Fraser
18684d9cbd
Merge pull request #257 from google/2016
...
2016
2016-02-16 21:57:54 -08:00
Neil Fraser
6e6a04b879
Add X/Y coordinates and block ID to create event.
2016-02-16 21:57:22 -08:00
Neil Fraser
5de9edeea3
Merge branch 'master' into 2016
2016-02-16 13:06:27 -08:00
Neil Fraser
9baec187b4
Merge pull request #255 from google/2016
...
Bug fixes from 2016 branch.
2016-02-16 13:06:12 -08:00
Neil Fraser
5297344a8b
Fix RTL XML.
2016-02-16 13:04:47 -08:00
Neil Fraser
3d3892c2ab
Merge branch 'master' into 2016
2016-02-16 13:03:05 -08:00
Niklas Laxström
dda2cbfddb
Localisation updates from https://translatewiki.net .
2016-02-15 07:10:02 +01:00
Neil Fraser
a0a61d2f33
Add event grouping. Add event monitoring to playground.
2016-02-12 22:09:21 -08:00
Neil Fraser
1d44036cf9
Add missing move when unshadowing and missing XY when deleting.
2016-02-12 19:34:51 -08:00
Neil Fraser
62f86658ff
Merge branch 'master' into 2016
2016-02-12 17:42:59 -08:00
Neil Fraser
e92d7625df
Merge pull request #252 from google/2016
...
New event model.
2016-02-11 21:54:21 -08:00
Neil Fraser
a4741f9feb
Routine recompile.
2016-02-11 21:48:14 -08:00
Neil Fraser
0fab13400a
Fire function events instead of DOM events.
2016-02-11 21:40:33 -08:00
Neil Fraser
d310b96f84
Add mutation events.
2016-02-10 21:40:51 -08:00
Neil Fraser
cf257ea5e9
Add event filtering.
2016-02-10 19:25:17 -08:00
Neil Fraser
63c112932b
Rename Field.setChangeHandler to Field.setValidator
2016-02-10 14:33:13 -08:00
Neil Fraser
d083958a1e
Merge branch 'master' into 2016
2016-02-09 22:36:25 -08:00
Neil Fraser
a481c1cff8
Customizable angle pickers.
2016-02-09 22:36:15 -08:00
Niklas Laxström
5d32124dcb
Localisation updates from https://translatewiki.net .
2016-02-08 11:35:36 +01:00
Neil Fraser
f56dd7930b
Routine recompile.
2016-02-05 18:44:53 -08:00
Neil Fraser
3bbd46d6d7
Merge branch 'master' into 2016
2016-02-05 18:42:22 -08:00
Neil Fraser
5ca8b36cfc
Allow <sep> to be used to add gaps between blocks.
2016-02-05 18:41:47 -08:00