Commit graph

2328 commits

Author SHA1 Message Date
Andy O'Neill
ffcd546474 feat: add quaternary color for selected dropdowns 2023-03-02 13:46:07 -05:00
Andy O'Neill
46e92fbbfc feat: rename color properties for input text and text 2023-02-15 09:32:37 -05:00
Andy O'Neill
5258e785c1 feat: block text color with stylesheet reloading 2023-02-10 16:32:24 -05:00
adroitwhiz
845a3723b2
Merge pull request from adroitwhiz/fix-sensing-of
Make event filtering stricter for move events (blockly#1892)
2020-07-09 14:33:04 -04:00
adroitwhiz
75bf5eda32
Merge pull request from adroitwhiz/constant-time-checkbox-lookups
Change checkboxes_ from array to object map
2020-07-09 14:32:45 -04:00
adroitwhiz
7256605a37 Use internal color slider HSB for slider callbacks 2020-06-22 14:48:05 -04:00
apple502j
bd4d913056 Localize custom block used alert 2020-05-29 16:17:08 +09:00
adroitwhiz
8fec74c1a1 Change checkboxes_ from array to object map 2020-05-22 22:58:37 -04:00
Rachel Fenichel
9eb88707e0 Fix comment in dragged_connection_manager.js 2020-05-17 20:06:13 -04:00
Rachel Fenichel
a6cbadc23f Make event filtering stricter for move events
Ported from blockly#1892
2020-05-17 20:06:13 -04:00
adroitwhiz
314e50468b Add wouldConnectBlock to InsertionMarkerManager 2020-05-13 16:46:28 -04:00
Rachel Fenichel
d37f554467 Fix undoing a drag to connect (blockly#1889) 2020-05-13 14:20:14 -04:00
Paul Kaplan
e2b6636011 Fix offset of comments in stacks 2019-12-18 15:42:06 -05:00
picklesrus
a62267d154
Merge pull request 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 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 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 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 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 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 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 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 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 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 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