Paul Kaplan
13d0f13170
Merge pull request #289 from paulkaplan/fix-zoom-bounds
...
Change pan/zoom bounds to 360/480 to match the real bounds.
2018-02-08 11:10:14 -05:00
Paul Kaplan
b4b93a4982
Change pan/zoom bounds to 360/480 to match the real bounds.
2018-02-08 08:49:52 -05:00
Paul Kaplan
c87e3e021a
Merge pull request #283 from paulkaplan/fix-chrome-eyedropper-bug
...
Temporary fix for eyedropper issue in Chrome 64
2018-02-07 12:37:58 -05:00
Paul Kaplan
d648fef0ee
Merge pull request #285 from paulkaplan/fix-input-nudging
...
Don't nudge selection when input is focused
2018-02-07 12:32:44 -05:00
Paul Kaplan
7f83411653
Use the same syntax as the delete key
2018-02-07 11:35:59 -05:00
Paul Kaplan
edb4acbb50
Merge pull request #284 from paulkaplan/fix-shift-bounds
...
Fix bounding box issue when using shift+drag
2018-02-07 11:32:54 -05:00
Paul Kaplan
09145a3bf1
Bail if input is target of nudge
2018-02-06 20:14:58 -05:00
Paul Kaplan
3a1e88eb5e
Only update the selection bounds if a nudge actually occurs
...
This was causing the problem where holding shift while dragging would
trigger the selection box to be shown, interrupting the drag.
2018-02-06 19:15:25 -05:00
Paul Kaplan
270c92a849
Buffer the paper canvas offscreen for picking to ensure safe access.
...
This gets around the bug #276 where chrome cannot handle getImageData
off a canvas on HDPI screens. In the interest of having a single
code-path, and because does not impose a large performance burden, I
think we should just use it for all platforms until chrome is really
fixed.
Also it is important to note that because this bug has to do with how
they handle accelerated 2d canvas contexts, it does not impact the stage
color picking, so that does not need to be changed.
2018-02-06 18:56:26 -05:00
DD Liu
0a308e8e44
Merge pull request #268 from fsih/flipAll
...
Flip all
2018-01-30 15:57:30 -05:00
DD
7a4822298b
Remove special case flip around center when nothing is selected
2018-01-29 15:03:05 -05:00
DD Liu
0f25c65217
Merge pull request #271 from fsih/nudge
...
Nudge
2018-01-29 11:29:11 -05:00
DD Liu
28ac7eaa7d
Merge pull request #269 from fsih/shiftLineTool
...
Hold shift to lock line tool to 45 degree angles
2018-01-26 17:37:15 -05:00
DD Liu
02e7d96e23
Merge pull request #267 from fsih/updateCenter
...
Fix point rotation point is relative to, which is not viewBox upper left
2018-01-26 17:30:40 -05:00
DD
c9165b0b4c
Revert "Don't enable if there is nothing in the editor"
...
This reverts commit e4ca0482b8
.
2018-01-26 17:21:47 -05:00
DD
e4ca0482b8
Don't enable if there is nothing in the editor
2018-01-25 18:32:43 -05:00
DD
53927bf615
Move key handlers into their own file, and add to oval and rect tools
2018-01-25 16:39:38 -05:00
DD
f3dcc54bf3
nudge
2018-01-25 16:00:50 -05:00
DD
385574fd46
Hold shift to lock line tool to 45 degree angles
2018-01-25 14:45:36 -05:00
DD
3ab1067c65
flip all
2018-01-25 11:33:43 -05:00
DD
ed04f4652c
Fix point rotation point is relative to, which is not viewBox upper left
2018-01-24 19:40:19 -05:00
DD Liu
1ff5fdff38
Merge pull request #266 from fsih/centering
...
Use translate instead of position for costume centering
2018-01-24 18:53:13 -05:00
DD Liu
35baf315a1
Merge pull request #263 from towerofnix/shift-scroll
...
Add holding shift to force horizontal scrolling
2018-01-23 19:03:59 -05:00
DD
6a8803b9e7
liiiiiiint
2018-01-23 14:59:57 -05:00
DD
86c9cb1e27
Use translate instead of position for costume centering.
2018-01-23 14:35:08 -05:00
DD Liu
d3dd6416b7
Merge pull request #265 from fsih/readme
...
Update the readme
2018-01-23 11:57:08 -05:00
Florrie
3341470cf0
Only use deltaY-horizontal-scrolling if deltaX is unset
2018-01-22 22:21:52 -04:00
DD
35ca4ea58e
Update the readme
2018-01-22 18:38:49 -05:00
Paul Kaplan
efe30ec50d
Merge pull request #261 from paulkaplan/touch-sliders
...
Make color pick touch accessible and jump on click
2018-01-22 09:17:29 -05:00
Florrie
bffcf4dd96
Add holding shift to force horizontal scrolling
2018-01-20 22:17:17 -04:00
Paul Kaplan
7aff96c3ff
Only update the full color state after eyedropper changes.
...
This prevents the sliders from changing when other sliders change (i.e.
bringing brightness down to 0). I needed to reorder the callback before
deactivate so the color picker can know that the update is coming from
the eyedropper. Also updated the comment to reflect what is really going
on.
2018-01-19 09:58:47 -05:00
Paul Kaplan
0279ba095c
Enforce state update before propogating change through props.
2018-01-19 09:43:25 -05:00
Paul Kaplan
243b8ccbb6
Add touch support for sliders include click-to-change on slider BG
2018-01-19 09:32:59 -05:00
DD Liu
7f1e3d7e28
Merge pull request #252 from fsih/updateReact
...
Update react dependencies to match gui
2018-01-17 11:33:20 -05:00
DD Liu
bd06cd4e24
Merge pull request #254 from fsih/backgroundUndo
...
Add an initial undo state when importing a blank costume
2018-01-12 15:34:53 -05:00
DD
379ecf85fc
Add an initial undo state when importing a blank costume
2018-01-12 11:22:26 -05:00
DD Liu
91752fc7ae
Merge pull request #251 from fsih/cursorPreviewDisappears
...
Clean up the cursor preview when it is removed from its parent
2018-01-12 10:33:25 -05:00
DD
0dd164d591
Update react dependencies to match gui
2018-01-11 18:53:16 -05:00
DD
8439a6387e
Clean up the cursor preview when it is removed from its parent
2018-01-11 18:50:42 -05:00
DD Liu
136357463c
Merge pull request #249 from fsih/widthWidth
...
Set a width on stroke width, brush and eraser width inputs
2018-01-10 15:45:10 -05:00
DD
1f76e7de4c
fix lint
2018-01-10 15:10:39 -05:00
DD
d0ca6e7174
Set a width on stroke width, brush and eraser width inputs
2018-01-10 15:05:40 -05:00
Matthew Taylor
671237498c
Merge pull request #244 from mewtaylor/issue/gh-226
...
Fix GH-226: set enterExitTransitionDurationMs to imperceptibly small value
2018-01-03 15:27:36 -05:00
Matthew Taylor
90defd1634
set enterExitDuration to imperceptibly small value
...
#226 appears to be caused when the duration in ms is below a certain value, which is why we don’t see it in other popovers. I’m not sure exactly what may be causing this in the `react-popover` library and will open an issue about it, but for now, 20ms is imperceptibly fast, and removes the error.
2017-12-29 09:20:29 -05:00
DD Liu
a4780d2207
Merge pull request #243 from fsih/flip
...
Flip
2017-12-27 14:58:49 -05:00
DD
ffca22618d
add input group
2017-12-27 14:31:18 -05:00
Matthew Taylor
7ee2c7e6b7
Merge pull request #240 from mewtaylor/issue/gui-830
...
Finish GUI-830: Add "coming soon" for bitmap, text tool
2017-12-26 12:04:02 -05:00
DD
300bbc80f3
Run ensure clockwise after flip, since flip makes everything counterclockwise which breaks fill
2017-12-22 17:44:14 -05:00
DD
04560d32ef
Flip
2017-12-22 17:44:14 -05:00
DD Liu
01d8ff736f
Merge pull request #242 from fsih/toggleCurved
...
Toggle curved/pointed points in reshape tool
2017-12-22 17:42:44 -05:00