Commit graph

2328 commits

Author SHA1 Message Date
Paul Kaplan
6d59fb722f Increase touchable size of checkboxes and extension status buttons. 2019-06-10 11:15:58 -04:00
Florrie
9b3d0e5027 Fix style matching in Firefox 67
(Ported from PR , which is by @NeilFraser.
 Description from that PR follows:)

Chrome returns ‘transform: translate(107px, 0px);’ whereas Firefox now
returns ‘transform: translate(107px);’ if the y value is 0.  This is
consistent with existing behaviour in the translate SVG attribute.

The comment in our code specifically states:
// Accounts for same exceptions as XY_REGEX_
Yet that was not true at all.

This PR makes the y argument optional (as falsely described in the
comment).  It also merges the 2D and 3D regeps together to simplify the
code.
2019-05-24 19:47:59 -03:00
Michael Franz
fc6776d496 Handle promise rejection for sound.play() in preload 2019-05-23 12:24:10 +02:00
Yağmur Oymak
63288b810d Use opt_secondValue in addBlock as expected 2019-04-21 14:06:37 +03:00
picklesrus
bffe4fb228
Merge pull request from epicfaace/feature/direction-text
Add restrictor to disallow text being typed in "direction" block input
2019-03-14 16:38:30 -04:00
picklesrus
f53412b38e
Merge pull request from picklesrus/fix-flyout-button
Fix flyout button
2019-02-12 11:44:19 -05:00
picklesrus
619ac4fbfb Fix typo 2019-02-11 13:29:11 -05:00
picklesrus
122b7b737e Fix by ignoring mouse ups on flyout buttons when there is a drag in process.
This issue was caused by adding pointer-events:none on the drag surface 
element in https://github.com/LLK/scratch-gui/pull/2584
2019-02-11 11:59:39 -05:00
Rachel Fenichel
77fa7702d0 Improve connection db performance 2019-02-04 10:34:29 -08:00
picklesrus
f97721ac43 Manually calculate the bounding box of the flyout since se have all the data so the browser does not reflow as a result of getBBox.
Finish up bounding box calculations.
2019-01-30 10:29:23 -05:00
picklesrus
e8f5776f85
Merge pull request from wdr-data/fix/category-item-ids
Add class to category menu item based on id
2019-01-28 10:53:43 -05:00
picklesrus
98adf2cf56
Merge pull request from epicfaace/feature/deletion-first-block
Deletion of single hat blocks connected to a stack
2019-01-24 13:28:39 -05:00
picklesrus
968fa0d69c
Minor whitespace change to put else back up a line 2019-01-24 11:57:26 -05:00
picklesrus
37f1dd86f8
Merge pull request from epicfaace/feature/duplicated-block-drag
Duplicated block goes to mouse pointer, not corner of block
2019-01-24 11:27:24 -05:00
Karishma Chadha
da3e22b4b1
Merge pull request from apple502j/patch-1
"Say something" for block comment
2019-01-16 16:11:19 -05:00
picklesrus
5d832c396a
Merge pull request from epicfaace/feature/comment-format
Comment formatting improvements
2019-01-15 11:26:22 -05:00
picklesrus
d762d54c4a
Merge pull request from epicfaace/feature/context-menu
Scroll very long context menus
2019-01-15 10:58:55 -05:00
apple502j
0a092d6948
"Say something" for block comment 2018-12-27 14:01:25 +09:00
Ashwin Ramaswami
79b9cf6163 Comment formatting improvements 2018-12-19 08:44:20 -05:00
Ashwin Ramaswami
31dd997dfe Don't bind on mouseup for toolbox when block is being dragged over it 2018-12-18 07:19:31 -05:00
Ashwin Ramaswami
dfcd98b26a Add restrictor to disallow text being typed in "direction" block input 2018-12-17 15:12:37 -05:00
Ashwin Ramaswami
6b8bf98502 Remove extraneous comment lines 2018-12-17 10:41:10 -05:00
Ashwin Ramaswami
f23e32c299 Fix eslint issue 2018-12-17 10:39:41 -05:00
Ashwin Ramaswami
65adee13cc Grammar 2018-12-17 09:52:10 -05:00
Ashwin Ramaswami
e45b06e2bb Remove testing comment context menu code 2018-12-17 09:51:35 -05:00
Ashwin Ramaswami
5af97eae06 Duplicated block goes to mouse pointer, not corner of block 2018-12-17 09:49:13 -05:00
Ashwin Ramaswami
f2bd666580 scroll very long context menus 2018-12-13 12:49:22 -08:00
Karishma Chadha
202d6715a0
Merge pull request from towerofnix/rename-default-value
Use variable name as default value for rename prompts
2018-12-13 15:00:40 -05:00
picklesrus
ae423b307c
Merge pull request from epicfaace/feature/notepicker-shadow
Use fill-opacity for notepicker shadow
2018-12-13 12:00:47 -05:00
Karishma Chadha
28ee2a6aef
Lint (fix long line)
Co-Authored-By: towerofnix <9948030+towerofnix@users.noreply.github.com>
2018-12-13 12:38:00 -04:00
Florrie
273d5c2f7e Use CLOUD_PREFIX.length instead of assuming it 2018-12-12 15:33:01 -04:00
Karishma Chadha
799c7bd748
Don't include cloud symbol in default value of "rename variable" prompt
Co-Authored-By: towerofnix <9948030+towerofnix@users.noreply.github.com>
2018-12-12 15:30:05 -04:00
Paul Kaplan
bf9f037fd3
Merge pull request from kchadha/fix-touching-color-purple
Conditionally turn off slider handle callbacks.
2018-12-12 12:11:56 -05:00
picklesrus
f17d389075
Merge pull request from epicfaace/feature/notepicker-width
Clear dropdown width to fix half-width bug
2018-12-12 09:31:44 -05:00
Karishma Chadha
0aa6869080 Conditionally turn off slider handle callbacks. 2018-12-11 17:24:51 -05:00
Karishma Chadha
cecd64313c
Merge pull request from paulkaplan/fix-color-slider-events
Fix extra events being emitted from the color slider
2018-12-11 17:17:40 -05:00
Paul Kaplan
2b7bb62cd3 Move binding callbacks below showing dropdown div so sliders update
They were not updating because the component does not update if it is not visible in the DOM
2018-12-11 14:27:54 -05:00
Marcus Weiner
39faf75158 Add class to category menu item based on id 2018-12-11 18:58:34 +01:00
Paul Kaplan
1215b47fb3 Fix extra events being emitted from the color slider 2018-12-10 17:15:57 -05:00
Ashwin Ramaswami
5f2759a8f6 Allow disconnection when deleting a block with no previousConnection 2018-12-10 12:08:19 -08:00
Ashwin Ramaswami
25d816f65a Clear dropdown width 2018-12-10 10:16:29 -08:00
Ashwin Ramaswami
4fd0c1ee46 Make SHADOW_OPACITY a number, not a string 2018-12-10 10:08:56 -08:00
Ashwin Ramaswami
15098b2860 Use fill-opacity for notepicker shadow 2018-12-10 10:06:30 -08:00
Karishma Chadha
5b3bffb6f5
Update min height on drop down div, to fix reporters having extra space below text. 2018-12-07 13:09:21 -05:00
Florrie
30b2443ab2 Use variable name as rename prompt's default value 2018-12-06 22:31:26 -04:00
Paul Kaplan
d8e6f71c57
Merge pull request from paulkaplan/fix-var-context-menu
Fix switching variables via context menu
2018-12-05 08:29:06 -05:00
Paul Kaplan
2a0bd8be37 Fix the "Create Variable" button in the playground by providing default 2018-12-04 15:54:06 -05:00
Karishma Chadha
559b17c4ee Fix importing cloud vars from xml. 2018-11-29 22:58:41 -05:00
Karishma Chadha
d5c0c168fd
Merge pull request from kchadha/cloud-vars
Track cloud variable info
2018-11-14 15:49:29 -05:00
Paul Kaplan
82c8f270ac
Merge pull request from towerofnix/scientific-notation
Support scientific notation in numerical inputs
2018-11-14 14:17:41 -05:00