Commit graph

87 commits

Author SHA1 Message Date
Tim Mickel
700f3026ea Implement translate3d during drag (#187)
* Add helper to detect if the browser supports 3d transform

* Update getRelativeXY_ to add translate3d coordinates

* Drag surface uses 3d translate

* Enable using translate3d during drags, turn on/off

* Fix group translate during drag

* Fix translate function and remove group logic

* Update Blockly.getRelativeXY_ to be more clear

* Split out add/remove transform/style to a function

* Move cache3dSupported_ above functions
2016-04-11 14:19:56 -04:00
Katelyn Mann
b11bd4fb71 Remove Blockly.removeAllRanges and replace it with calls to add/remove
css to mark text as unselectable instead.  I can't prove this is
significantly faster with numbers since the call to setup the time out
costs ~.1ms and the call when the timer fires is ~.05.  This happens on almost
every mouse event though.  Plus, it seems to remove a flicker of highlighting when
frames are skipped and keeps scrolling via the scrollbar from highlighting.
2016-03-28 10:06:43 -07:00
Neil Fraser
39fbd24659 Remove setProcedureParameters from API (use domToMutation instead). 2016-03-22 10:48:13 -07:00
Neil Fraser
aeabf0ec6f Fix issue 251, $ in ID. 2016-02-16 22:16:36 -08:00
Neil Fraser
5297344a8b Fix RTL XML. 2016-02-16 13:04:47 -08:00
Neil Fraser
4b0ed0d372 Add custom event file. 2016-01-12 16:47:18 -08:00
Neil Fraser
3bce368115 Simplify workspace options by removing svg property. 2016-01-07 17:01:01 -08:00
Neil Fraser
e5dfdf4658 Improve randomness of UUIDs. 2015-11-24 19:16:01 -08:00
Neil Fraser
d702808f71 Add UUID generator. 2015-11-19 01:46:53 -08:00
Neil Fraser
7568015c8c Scale the flyout as the workspace zooms. 2015-09-01 20:00:13 +01:00
Neil Fraser
8f73c6b042 Clean getSvgXY_.
No functional change.
2015-09-01 12:22:50 +01:00
Neil Fraser
f81a5bd11a Expand regex to handle IE's scientific notation. 2015-08-26 14:08:03 +01:00
Markus Bordihn
d555121a1c Update utils.js
There is no global "getSelection()" function, see:
https://developer.mozilla.org/en-US/docs/Web/API/Window/getSelection
2015-08-25 15:39:09 +02:00
Neil Fraser
5b7fec7092 Add zooming feature.
By carloslfu.
2015-08-19 17:21:05 -07:00
Neil Fraser
e0f90e6e33 Adding more type documentation. 2015-07-13 15:03:22 -07:00
Neil Fraser
916a5f56b0 Fix %% escaping in interpolation. 2015-07-10 16:08:27 -07:00
Neil Fraser
345b0cb668 Remove selection in Block Factory when switching modes. 2015-06-29 17:06:36 -07:00
Neil Fraser
1be9437544 Support content editable (issue 113). 2015-06-22 15:45:18 -07:00
Neil Fraser
4fb40b95f6 Fix fractional-pixel connection drift. 2015-05-27 18:54:37 -07:00
Neil Fraser
6fdab711b2 Fix several RTL bugs. 2015-05-19 12:02:49 -07:00
Neil Fraser
17961f7f58 Support multiple Blockly instances. 2015-04-28 13:51:25 -07:00
Neil Fraser
0b1efa2eab Don't treat ctrl-click as a right-click except on Mac. 2015-02-23 16:04:18 -08:00
Neil Fraser
c9addf7e31 Improve accuracy of goog.require calls. 2015-02-06 15:27:25 -08:00
Neil Fraser
906b62f7ef Speed up Firefox on mobile (same as previous commit). 2015-01-27 20:28:33 -08:00
Neil Fraser
f79b42ab70 Speedup Firefox with black magic. Seriously, WTF? 2015-01-27 17:14:44 -08:00
Neil Fraser
e7444120ca Merge duplicate event calls. 2015-01-27 15:57:45 -08:00
Neil Fraser
6436cc1569 Merge pull request #41 from carlosperate/master
Fixes google/blockly#40
2015-01-15 13:58:29 -08:00
Neil Fraser
c5ba39ef72 Speed up rendering on deep trees. 2015-01-08 13:38:40 -08:00
carlosperate
23388d51dd Fixes google/blockly#40
ontouchstart was not defined within goog.global, using the closure browser capability checks instead
2015-01-04 03:42:01 +00:00
Neil Fraser
1fac311224 Convert cumbersome conditionals into calls to goog.getObjectByName. 2014-12-23 17:02:53 -08:00
Neil Fraser
0f8d01209c Headless workspaces and blocks. 2014-12-23 11:22:02 -08:00
Neil Fraser
6539211104 Change official project URL. 2014-10-07 13:09:55 -07:00
Neil Fraser
7122410373 Changing project location from Google Code to GitHub. 2014-09-08 15:18:02 -07:00
Neil Fraser
d998a1c8ec Update to latest version. 2014-09-08 14:26:52 -07:00
ellen.spertus
1f5f0abd94 Automatic commit Sat Feb 1 03:00:04 PST 2014 2014-02-01 03:00:04 -08:00
ellen.spertus
6ee38cdec3 Automatic commit Tue Jan 28 03:00:09 PST 2014 2014-01-28 03:00:09 -08:00
ellen.spertus
a8acffd81c New initial commit with .svn directories and their contents ignored. 2013-10-30 14:46:03 -07:00