Neil Fraser
45e5fb4157
More JSDoc and lint corrections
2019-07-30 17:00:40 -07:00
Neil Fraser
6947010c49
Change Rect to use top/bottom/left/right
...
Instead of top/left/height/width. Given our uses of Rect, it makes the math slightly simpler.
This is a setup for using Rect in other places. Currently it is only used to describe delete areas.
2019-06-07 10:32:57 -07:00
Neil Fraser
5bf7069a2f
Remove goog.math.Coordinate
2019-06-07 10:32:57 -07:00
Neil Fraser
f2c57dea1b
Remove goog.math.Rect dependency
2019-06-07 10:32:57 -07:00
Neil Fraser
9f528922a7
Fix some dependencies
2019-05-24 15:45:05 -07:00
Neil Fraser
28ad3a9bd3
Blockly.utils.userAgent moved to Blockly.userAgent
2019-05-10 16:56:26 -07:00
Neil Fraser
4062030731
Remove goog.userAgent dependency.
2019-05-10 14:03:21 -07:00
Beka Westberg
b93253c69c
Fixed Mutator Flyout Being Positioned Incorrectly RTL ( #2378 )
...
* Fixed mutator flyout being positioned incorrectly.
* Changed flyout_horizonal and flyout_vertical to check this.targetWorkspace_.toolboxPosition instead of targetWorkspaceMetrics.toolboxPosition.
2019-04-15 10:02:07 -07:00
Neil Fraser
e9de083361
Fix @return JSDocs.
2019-03-29 15:24:37 -07:00
Beka Westberg
5b25843b98
Fixed trashcan flyout positioning.
2019-03-29 08:19:24 -07:00
Beka Westberg
a0aa84d861
Changed absolute metrics to avoid simple toolboxes.
2019-02-23 14:34:26 -08:00
Beka Westberg
4e7e712549
Added scroll delta mode constants.
2019-02-21 07:35:44 -08:00
Beka Westberg
c96330c207
Fixed horizontal scrolling on window resize.
2019-02-09 15:07:22 -08:00
Beka Westberg
363ff487a4
Changed trashcan and zoom controls to be positioned in the opposite corner of the toolbox. Fixed trashcan hotspot being incorrect.
2019-01-28 15:24:56 -08:00
Beka Westberg
ab84d5fb77
Fixed scrolling horizontal flyouts with mousewheel.
2018-12-26 11:50:36 -08:00
Neil Fraser
0583bee502
Correct requires for goog.dom
2018-07-11 12:20:02 -07:00
Neil Fraser
8f7674ea08
Correct requires for goog.events
2018-07-11 12:20:02 -07:00
Neil Fraser
3909bd420a
Remove all goog.asserts and goog.isXxx
...
First step to reducing Closure’s footprint.
2018-07-11 12:20:02 -07:00
Neil Fraser
662d79443f
Add 'ordered' option to descendant getting functions. ( #1786 )
2018-04-17 11:41:03 -07:00
Neil Fraser
ec6b5c7f96
Dragging blocks towards the toolbox should create blocks rather than do nothing
...
Recreation of commit c2bf01ab48 which got
lost in a refactor.
2018-03-22 16:47:55 -07:00
Rachel Fenichel
fb897d7786
Even more lint. 90 errors remaining.
2018-01-23 18:33:30 -08:00
Neil Fraser
7216c060bd
Terminology: "background button" -> "mat"
...
Originally flyouts had ‘blocks’ and rectangular hidden ’buttons’
underneath the blocks. When UI buttons were added to flyounts, there
was a terminology collision. This change renames the original
background ‘buttons’ to ‘mats’. As in placemats or door mats.
2017-11-07 14:23:41 -08:00
Neil Fraser
4262b09002
Resolve 106 warnings.
2017-10-24 14:06:29 -07:00
Eric Rosenbaum
cc8a12a574
Scale Firefox scrolling for mouse only, not trackpad ( #1324 )
2017-09-19 10:47:23 -07:00
Rachel Fenichel
d2f7d5a71a
Use the same math for dragging blocks out of horizontal and vertical flyouts. ( #1215 )
...
* Use the same math for dragging blocks out of horizontal and vertical flyouts.
* Update flyout_base.js
2017-07-19 11:30:08 -07:00
Rachel Fenichel
2d532225d3
Split flyout into flyout_base, flyout_horizontal, and flyou_vertical
...
* Rename flyout to flyout_base
* flyout_base minus horizontal and vertical code
* Add flyout_vertical and flyout_horizontal
* review fixes + toolbox and workspace use
* Fix hat block case
* rebuild uncompressed
* Fix travis problem
* Fix build problem
2017-06-08 13:36:11 -07:00