Paul Kaplan
e2b6636011
Fix offset of comments in stacks
2019-12-18 15:42:06 -05:00
picklesrus
a62267d154
Merge pull request #1990 from mathiassoeholm/use-correct-delete-count
...
Now using correct delete count to check if should show dialog
2019-09-09 19:29:25 -04:00
Paul Kaplan
a36ff3b793
Merge pull request #1985 from paulkaplan/more-touch-fixes
...
Use click event to avoid gesture problems freezing workspace
2019-08-13 15:28:51 -04:00
Mathias Søholm
eb7dfe6867
Now using correct delete count to check if should show dialog
2019-08-13 13:56:44 +02:00
Paul Kaplan
74704ec269
Use click event to avoid gesture problems freezing workspace
2019-08-07 14:35:28 -04:00
Paul Kaplan
d2f03647e9
Merge pull request #1968 from paulkaplan/touch-numpad
...
Use quiet inputs/numpad for touch interaction instead of based on user agent
2019-08-02 14:12:50 -04:00
Paul Kaplan
ebc2e9dab7
Merge pull request #1975 from paulkaplan/better-touch-comments
...
More touchable comments, and a few RTL bugfixes
2019-07-31 09:56:52 -04:00
Paul Kaplan
fd40039dc8
Merge pull request #1971 from paulkaplan/comment-placeholders
...
Use placeholders instead of default text for comments, fix focusing
2019-07-31 09:38:05 -04:00
Paul Kaplan
9862429ba7
Fix text spilling out of minimized workspace comments in RTL
2019-07-30 12:21:23 -04:00
Paul Kaplan
42ab758249
Remove debug stylings
2019-07-30 12:00:23 -04:00
Paul Kaplan
2bf63bacc5
Change resize handle to add a larger hitbox to make touch interactions easier
2019-07-30 11:54:35 -04:00
Paul Kaplan
ef9b4cc2b8
Resize minimize/delete handle icons so they take up the entire topbar height. This makes them much easier to touch
2019-07-30 11:53:33 -04:00
Paul Kaplan
8d4e38786e
Fix RTL bug where resize handle was positioned incorrectly
2019-07-30 11:52:38 -04:00
Paul Kaplan
7e83e50aa0
Fix a layout bug in RTL with workspace comment delete icon, was accidentally giving the correct value, but changing sizes revealed it was doing it wrong
2019-07-30 11:50:32 -04:00
Paul Kaplan
e0830881f6
Force focus after block comments are created
2019-07-29 14:41:57 -04:00
Paul Kaplan
c72e6934b4
Use placeholders instead of a default value for comments
2019-07-29 14:40:57 -04:00
Paul Kaplan
469fe8b1e0
Fix error when deleting comments caused by trying to blur removed node
2019-07-29 13:18:28 -04:00
Paul Kaplan
b900bd2742
Stop propagation for textarea clicks to make sure preventDefault is not called by workspace event listeners
2019-07-29 13:18:01 -04:00
Paul Kaplan
3a992ac697
Mark delete/resize events as noCaptureIdentifier to stop workspace freezing
2019-07-29 13:12:54 -04:00
Paul Kaplan
d95476ffa8
Move workspace comment click target rect to only cover the textarea
2019-07-29 13:10:42 -04:00
Paul Kaplan
ef1de26862
Merge pull request #1967 from picklesrus/workspace-comment-focus-ios
...
Move call to focus element outside of the the setTimeout. iOS is pick…
2019-07-29 10:32:13 -04:00
Paul Kaplan
3ce3863ab6
Track touch vs mouse origins of field interactions
2019-07-26 13:55:21 -04:00
picklesrus
38f2d8e1b5
remove stray newline
2019-07-24 16:05:35 -04:00
picklesrus
90f90aa47b
Move call to focus element outside of the the setTimeout. iOS is picky about what things you can do outside of a direct user action and I think focus might be one of them. With this change comments are now editable on iOS.
2019-07-24 15:56:12 -04:00
Paul Kaplan
b99d0bf591
Merge pull request #1961 from paulkaplan/focus-on-type
...
Allow quiet inputs to be focused by typing
2019-07-22 09:50:04 -04:00
Paul Kaplan
46b71d923e
Merge pull request #1960 from paulkaplan/numpad-cursor
...
Fix numpad to work correctly with moving cursors
2019-07-22 09:36:22 -04:00
Paul Kaplan
fcaa5cd3d4
Allow quiet inputs to be focused by typing
2019-07-01 11:30:00 -04:00
Paul Kaplan
b4ad2556d1
Fix numpad to work correctly with moving cursors
2019-07-01 11:06:44 -04:00
Paul Kaplan
a9a9502543
Merge pull request #1959 from mathiassoeholm/develop
...
Update to "Handle promise rejection for sound.play() in preload"
2019-07-01 09:16:30 -04:00
Mathias Søholm
db222411bf
Fixed indentation
2019-07-01 08:49:38 +02:00
Mathias Søholm
4e9e5f58a9
Fixed indentation
2019-07-01 08:32:04 +02:00
Mathias Søholm
c8b74b572a
Removed empty line
2019-07-01 08:28:48 +02:00
Mathias Søholm
59314056de
Now checking if promise is undefined, so it doesn't throw on Edge
2019-07-01 08:20:26 +02:00
Michael Franz
1bd995ed5e
Converted arrow function to normal function
2019-06-28 13:32:40 +02:00
Michael Franz
04b7a281d3
Fixed DOMException when play request gets interrupted by a call to pause.
2019-06-28 10:10:26 +02:00
Paul Kaplan
e701430d69
Merge pull request #1956 from LLK/paulkaplan-patch-1
...
Fix broken image for numpad delete button
2019-06-26 10:06:18 -04:00
picklesrus
46f3c194d8
Merge pull request #1944 from towerofnix/xy-regexp
...
Fix style matching in Firefox 67 (port from Blockly)
2019-06-26 09:52:37 -04:00
Paul Kaplan
756895f80b
Fix broken image for numpad delete button
...
It turns out we are creating a data-uri SVG for the delete button, but are using string interpolation for the color. If you use hex, this breaks the image on Chrome (but not Safari). Using a standard css color keyword (alternatively using RGB) fix the issue.
2019-06-25 14:19:20 -04:00
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 google/blockly#2485 , 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 #1828 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 #1894 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 #1671 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 #1790 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 #1814 from epicfaace/feature/deletion-first-block
...
Deletion of single hat blocks connected to a stack
2019-01-24 13:28:39 -05:00