Commit Graph

238 Commits

Author SHA1 Message Date
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
ca9ee114bc Remove 'id' from XML unless realtime is enabled. 2015-08-28 09:53:03 +01:00
Neil Fraser
8aa8bbb53e Fix placement of blocks on zoomed flyouts. 2015-08-27 16:46:45 +01:00
Neil Fraser
d1d89abca8 Fix block locations on flyouts.
Output tabs are negative coordinates.
2015-08-27 15:08:26 +01:00
Neil Fraser
8540118fe0 Add optional class to FieldLabel. 2015-08-26 14:27:30 +01:00
Neil Fraser
f81a5bd11a Expand regex to handle IE's scientific notation. 2015-08-26 14:08:03 +01:00
Neil Fraser
ffe49a7020 Remove needless use of .call() 2015-08-25 15:09:55 +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
218fdc667d Fix duplicate procedure naming.
https://groups.google.com/forum/#!topic/blockly/2q0pleoMIco
2015-08-25 14:11:07 +01:00
Neil Fraser
20820b5861 Fix drag events. 2015-08-21 19:37:57 -07:00
Neil Fraser
d4a8012b72 Routine recompile. 2015-08-21 14:54:11 -07:00
Neil Fraser
739918b870 Merge pull request #162 from skcamp/fix-issue-161-pinch-gesture-error
fix: https://github.com/google/blockly/issues/161
2015-08-21 14:39:15 -07:00
Neil Fraser
2b18078cb6 Merge pull request #165 from carlosperate/zoom_ie
Revert DOM injection order of the zoom control images.
2015-08-21 14:35:12 -07:00
Neil Fraser
f601bdc3c7 Fix FF editor location by a pixel. 2015-08-21 14:13:07 -07:00
carlosperate
466115d52b Revert DOM injection order of the zoom control images. 2015-08-21 20:51:35 +01:00
Neil Fraser
fe12aeee93 Merge pull request #164 from carlosperate/getScaledBBox_
Update getScaledBBox_ to return new object to fix issue in IE.
2015-08-21 12:39:02 -07:00
carlosperate
17be3219ee Update FieldTextInput to not edit possible read-only attributes.
The SVGRect returned from getBBox can be have its attributes as read-only.
2015-08-21 19:20:00 +01:00
carlosperate
055c11155d Update getScaledBBox_ to return new object to fix issue in IE. 2015-08-21 18:51:25 +01:00
carlosperate
a43c426986 Remove additional height to the FieldImage size. 2015-08-21 17:25:05 +01:00
Neil Fraser
53f5424801 Skc memory leaks (PR #159) 2015-08-20 15:46:44 -07:00
Winston
575b712462 fix: https://github.com/google/blockly/issues/161
On iOS, if I use a pinch gesture in the workspace, these errors appear in the console:

Error: Invalid value for <rect> attribute x="NaN"
2015-08-20 15:26:56 -07:00
Neil Fraser
e8f1de3bdf Fix bottom-right workspace metrics when not at 100% zoom. 2015-08-20 14:09:14 -07:00
Neil Fraser
84838a67f3 Don't delete connected child blocks. 2015-08-20 12:07:48 -07:00
Neil Fraser
96d5987db1 Fix Audio test in IE (issue 272) and fix error when deleting block with warning. 2015-08-19 18:42:35 -07:00
Neil Fraser
f3ea66a796 Dragging on an icon should not pop open a bubble.
Issue #145.
2015-08-19 18:25:26 -07:00
Neil Fraser
058760e30d Merge pull request #158 from carlosperate/ie_comment_fix
Rename Warning getAllText function for Comment object compatibility.
2015-08-19 17:36:03 -07:00
Neil Fraser
5b7fec7092 Add zooming feature.
By carloslfu.
2015-08-19 17:21:05 -07:00
Neil Fraser
0478d308a6 Trivial cleanup. 2015-08-18 11:34:22 -07:00
Neil Fraser
6d8bae4836 Fix 'this' in field change handler calls.
Caught by toebes.
2015-08-17 23:20:29 -07:00
carlosperate
d773adb7b3 Rename Warning getAllText function for Comment object compatibility. 2015-08-17 15:23:08 +01:00
Allison Lamm
02fa8cb605 more type annotation updates 2015-08-10 14:34:42 -05:00
Allison Lamm
6070b9473d Update type annotation for Blockly cursor 2015-08-10 14:17:11 -05:00
Allison Lamm
cca88beb30 adding type annotation to field text input 2015-08-10 13:46:16 -05:00
Neil Fraser
3ed9e09355 Refresh XML in generator unit tests. 2015-08-07 10:04:07 -07:00
Neil Fraser
bd144f14ea Fix tooltip location when page is scrolled.
Also of note, Closure Compiler is no longer preserving licences.
2015-08-06 11:12:41 -07:00
Neil Fraser
877b5d3fa0 Fix generating null blocks (issue 142). 2015-07-30 08:31:13 -07:00
Troy McKinnon
37a3c74aea add another type annotation 2015-07-27 14:18:43 -05:00
Neil Fraser
75582660a3 Merge pull request #131 from carlosperate/menu_height
Contain the height of the field dropdown to the window viewport height.
2015-07-23 14:39:55 -07:00
Neil Fraser
2201f16505 Angle field tweaks. 2015-07-23 14:32:15 -07:00
Neil Fraser
ce6ad13fbb Recompile after translations. 2015-07-23 13:09:06 -07:00
Neil Fraser
83abc988a7 Remove unused changeOutput func. 2015-07-22 17:17:36 -07:00
Neil Fraser
94d3b6f4ea Add ellipsis to long fields. 2015-07-21 18:24:07 -07:00
Neil Fraser
07e4b92443 Fix cross-linked validators (issue #133) 2015-07-20 16:18:40 -07:00
Neil Fraser
45fd0e9d44 Remove unused field clone. 2015-07-20 16:17:21 -07:00
Neil Fraser
98a76a62db Corrections to warning bubbling. 2015-07-20 11:54:03 -07:00
Neil Fraser
0b9749166c Make warnings bubble up to collapsed parents. 2015-07-19 16:49:11 -07:00
carlosperate
3cc4c4e141 Contain the height of the field dropdown to the window viewport height. 2015-07-16 22:08:50 +01:00
Neil Fraser
855301cd65 Merge pull request #128 from carlosperate/multiple_warnings
setWarningText can now take optional ID to maintain multiple warnings.
2015-07-16 10:21:30 -07:00
Neil Fraser
f2c9c89dd3 Darken the flyout scrollbars. 2015-07-15 14:09:19 -07:00