Commit Graph

245 Commits

Author SHA1 Message Date
Skyler Lehmkuhl 04d7ac9edc Make Select All and Select None actions 2024-12-24 17:44:37 -05:00
Skyler Lehmkuhl 71e2b5e4ca Fix clicking on timeline selecting wrong frame when scrolled 2024-12-24 17:24:27 -05:00
Skyler Lehmkuhl 9e9135f895 Add recent files to file menu 2024-12-24 17:14:13 -05:00
Skyler Lehmkuhl 265e309e40 Fix polyfill handling for files 2024-12-24 14:27:13 -05:00
Skyler Lehmkuhl f53228facd Add Tauri polyfill for web version 2024-12-24 13:18:42 -05:00
Skyler Lehmkuhl 38922a03e4 Initial support for moving frames 2024-12-23 06:03:59 -05:00
Skyler Lehmkuhl 07ba9edbd3 Stop playback at correct position after deleting frames 2024-12-23 06:03:34 -05:00
Skyler Lehmkuhl c77942800c Don't show frames when they don't exist 2024-12-23 02:00:28 -05:00
Skyler Lehmkuhl 7cf8ff7776 Delete frame 2024-12-23 01:21:08 -05:00
Skyler Lehmkuhl 0aada309ca Fix motion tween after adding a keyframe in the middle of it, again 2024-12-23 01:08:12 -05:00
Skyler Lehmkuhl 6c5258339c Fix motion tween after adding a keyframe in the middle of it 2024-12-23 00:16:57 -05:00
Skyler Lehmkuhl b94d73c976 draw transform handles again 2024-12-22 06:48:46 -05:00
Skyler Lehmkuhl 9c89d131d8 Fixed undoing an add layer keeping the removed layer active 2024-12-22 05:55:20 -05:00
Skyler Lehmkuhl d21dd003d9 Add keyboard shortcut for add layer 2024-12-22 05:53:12 -05:00
Skyler Lehmkuhl a2cbc70d69 Fix mouseup handler not getting called when mouse is released outside the canvas 2024-12-22 05:45:08 -05:00
Skyler Lehmkuhl 8c0945813e Reset filePath after creating new file 2024-12-22 05:34:16 -05:00
Skyler Lehmkuhl 6456907259 Add 'verbatim' mode to shape drawing 2024-12-22 05:33:50 -05:00
Skyler Lehmkuhl 0dc791bbba Try to update window title 2024-12-22 05:33:06 -05:00
Skyler Lehmkuhl 21d42f2ce2 Fix layers in clips preventing playback 2024-12-22 05:06:25 -05:00
Skyler Lehmkuhl 48cf15e825 Draw stage without scrollbar, also fix zoom to mouse cursor 2024-12-22 04:55:54 -05:00
Skyler Lehmkuhl 802646f685 Don't prompt for quitting if file was just saved 2024-12-22 02:17:36 -05:00
Skyler Lehmkuhl 2d58a89e5f Fix clicking on frames not updating the stage 2024-12-22 02:07:55 -05:00
Skyler Lehmkuhl 516dbffd12 Fix severe bug where all shapes would be put on the first frame when loading a saved file 2024-12-22 02:06:58 -05:00
Skyler Lehmkuhl 7375dce342 Split panes 2024-12-21 09:16:18 -05:00
Skyler Lehmkuhl 455dd4a611 Add keyboard shortcuts to menus 2024-12-21 05:23:17 -05:00
Skyler Lehmkuhl 237b8882cf Add config saving/loading and recent files list on new file dialog 2024-12-21 04:26:01 -05:00
Skyler Lehmkuhl 570bb10f04 Close new file dialog when opening a file 2024-12-21 02:44:22 -05:00
Skyler Lehmkuhl a0985bb275 render layer visibility icons 2024-12-21 02:41:51 -05:00
Skyler Lehmkuhl a6af68bca8 Return objects to first frame when leaving their context 2024-12-20 15:58:18 -05:00
Skyler Lehmkuhl dd2c108541 Fix arrow and delete keys being interpreted as keyboard shortcuts while editing object names 2024-12-19 20:41:31 -05:00
Skyler Lehmkuhl 2d9ced4785 Add layer names 2024-12-19 20:14:08 -05:00
Skyler Lehmkuhl 6978c619d5 Constrain vertical scroll in layers panel 2024-12-19 20:13:59 -05:00
Skyler Lehmkuhl 68a3c4d1ea sort layers top to bottom 2024-12-19 19:54:32 -05:00
Skyler Lehmkuhl f22f2019d1 Prevent ResizeObserver loop errors 2024-12-19 05:17:37 -05:00
Skyler Lehmkuhl 270b15d2c3 Rename Active Object to Context 2024-12-19 04:49:06 -05:00
Skyler Lehmkuhl 5679fdf8bd Draw entire timeline as canvas 2024-12-19 04:22:40 -05:00
Skyler Lehmkuhl dc58de8545 Add play from frame option 2024-12-18 20:32:05 -05:00
Skyler Lehmkuhl 745a63f1a8 add Play from Frame button 2024-12-18 19:12:24 -05:00
Skyler Lehmkuhl 7ab61ac77d fix some bugs in go to frame 2024-12-18 19:08:21 -05:00
Skyler Lehmkuhl c7c2cd3744 Go to frame in clip 2024-12-18 19:01:50 -05:00
Skyler Lehmkuhl d9a06e417a Fix mouse coordinates inside transformed graphics objects 2024-12-18 17:48:42 -05:00
Skyler Lehmkuhl 50df97f03d Fix performance issue when drawing ellipses and rectangles 2024-12-18 17:48:08 -05:00
Skyler Lehmkuhl 124b811493 If working on a saved or opened file, use its filename as default for Save As 2024-12-16 22:10:18 -05:00
Skyler Lehmkuhl 2b65acac28 Add navigation breadcrumbs to infopanel 2024-12-16 19:56:34 -05:00
Skyler Lehmkuhl f8a31b9ae3 make active object a stack 2024-12-16 19:27:51 -05:00
Skyler Lehmkuhl dc2f772da3 Add Select All 2024-12-16 18:42:58 -05:00
Skyler Lehmkuhl 555cf65a9a Make color picker work for both fill and stroke colors 2024-12-16 18:30:06 -05:00
Skyler Lehmkuhl 747b34ec67 initial work on new color picker 2024-12-16 17:59:27 -05:00
Skyler Lehmkuhl f010faef73 UI for hiding layers 2024-12-11 16:25:30 -05:00
Skyler Lehmkuhl d3cd21cfbb render hidden layers when not inside an object 2024-12-11 16:07:54 -05:00
Skyler Lehmkuhl 131f81474b handle bounding box correctly for objects with multiple layers 2024-12-11 16:07:34 -05:00
Skyler Lehmkuhl 918538b9f7 Default fillShape to false 2024-12-11 15:58:16 -05:00
Skyler Lehmkuhl c67d988083 Allow importing audio via menu 2024-12-11 15:57:49 -05:00
Skyler Lehmkuhl e6f70d1fdc send new paintbucket fills to back 2024-12-11 15:35:57 -05:00
Skyler Lehmkuhl a7b4ea8789 change paintbucket gap filling 2024-12-11 15:30:23 -05:00
Skyler Lehmkuhl 50e1844caa clean up unsuccessful methods 2024-12-11 15:12:26 -05:00
Skyler Lehmkuhl 4d1e42a38b Paint bucket! 2024-12-11 15:11:14 -05:00
Skyler Lehmkuhl f0e1a2910f hide and show layers 2024-12-08 01:15:53 -05:00
Skyler Lehmkuhl 528593d705 Make play menu item functional 2024-12-08 00:56:43 -05:00
Skyler Lehmkuhl 4beef05b90 When adding new layer, make it the active layer 2024-12-08 00:54:33 -05:00
Skyler Lehmkuhl bd85a157fc Update UI after deleting layer 2024-12-08 00:47:03 -05:00
Skyler Lehmkuhl f291540cd2 rotate cursor 2024-12-07 23:33:14 -05:00
Skyler Lehmkuhl 369a6ddf8b Rename Reset Zoom to Actual Size 2024-12-07 22:26:35 -05:00
Skyler Lehmkuhl eb8c7e5348 Move export to file menu 2024-12-07 22:26:20 -05:00
Skyler Lehmkuhl 7cf9255e4f Add names to audio layers 2024-12-07 20:25:09 -05:00
Skyler Lehmkuhl f4f7ee2930 bump file version 2024-12-07 19:53:08 -05:00
Skyler Lehmkuhl 22cb543214 fix errors on rendering objects with subtimelines 2024-12-07 18:35:33 -05:00
Skyler Lehmkuhl 10fc546e61 fix copy&paste 2024-12-07 18:14:15 -05:00
Skyler Lehmkuhl 7b11de4b38 sort of zoom to mouse 2024-12-07 16:00:27 -05:00
Skyler Lehmkuhl dcc1d7e11e fix mouse coords when zoomed 2024-12-07 15:25:49 -05:00
Skyler Lehmkuhl 8067b9bb46 Revert 2024-12-07 15:23:13 -05:00
Skyler Lehmkuhl b78362243a Edit objects 2024-12-07 15:15:47 -05:00
Skyler Lehmkuhl 4ce9ace70a Layer names 2024-12-07 01:06:57 -05:00
Skyler Lehmkuhl e1e48ede30 Add layers 2024-12-07 00:47:09 -05:00
Skyler Lehmkuhl 6b7e7eae16 play audio from point on timeline 2024-12-07 00:00:04 -05:00
Skyler Lehmkuhl e0b69007fd somewhat broken audio playback 2024-12-06 17:49:57 -05:00
Skyler Lehmkuhl 5ed9c06156 import audio and draw it on timeline 2024-12-06 15:28:31 -05:00
Skyler Lehmkuhl b589885ed7 Parameterize keyboard shortcuts 2024-12-06 02:23:58 -05:00
Skyler Lehmkuhl af7e1b8d85 zoom in, zoom out 2024-12-06 02:13:33 -05:00
Skyler Lehmkuhl abede6586e refresh timeline on new file 2024-12-06 01:27:36 -05:00
Skyler Lehmkuhl af26bd1eeb delete shapes 2024-12-06 01:19:14 -05:00
Skyler Lehmkuhl ab59209da5 make delete menu option function 2024-12-06 01:07:48 -05:00
Skyler Lehmkuhl 9f549a9981 delete object 2024-12-06 01:06:15 -05:00
Skyler Lehmkuhl b255547af6 copy/paste (but not deterministic) 2024-12-05 18:01:24 -05:00
Skyler Lehmkuhl f7e26a074c shift click to select multiple objects 2024-12-05 17:11:51 -05:00
Skyler Lehmkuhl 7f34e0e542 import larger images 2024-12-05 17:03:52 -05:00
Skyler Lehmkuhl ae5e526b2e Add menu option to import image 2024-12-05 16:54:45 -05:00
Skyler Lehmkuhl 197fc68075 fix drag and drop on macOS 2024-12-05 16:30:59 -05:00
Skyler Lehmkuhl b182db81c9 deselect shapes 2024-12-05 15:55:14 -05:00
Skyler Lehmkuhl 510652043d fix menus on macos 2024-12-05 15:04:13 -05:00
Skyler Lehmkuhl 0988794b48 match menu layout on macos 2024-12-05 14:53:14 -05:00
Skyler Lehmkuhl 11c6d47935 Use ⌘ key on macOS instead of Ctrl 2024-12-05 14:12:14 -05:00
Skyler Lehmkuhl 55c17f5760 pull version from Tauri build info 2024-12-05 14:05:34 -05:00
Skyler Lehmkuhl 0bb5d11141 fix lines always highlighting for ellipses 2024-12-05 13:21:57 -05:00
Skyler Lehmkuhl 9aa32446cc canvas on macOS has no reset() method 2024-12-05 13:12:21 -05:00
Skyler Lehmkuhl ad17f2531e update menus to reflect undo state 2024-12-05 11:30:53 -05:00
Skyler Lehmkuhl 3697b3371c don't add empty objects 2024-12-05 10:43:23 -05:00
Skyler Lehmkuhl 6f101301ed properly comment ellipse math 2024-12-05 10:43:02 -05:00
Skyler Lehmkuhl 88d95d7c3a add ellipse tool 2024-12-05 10:35:49 -05:00
Skyler Lehmkuhl 7d3f414be9 one region per shape 2024-12-05 00:23:36 -05:00
Skyler Lehmkuhl 3e1184b6b3 add shape tweens (outlines only) 2024-12-04 22:47:01 -05:00
Skyler Lehmkuhl 56f0ad7359 paintbucket improvements 2024-12-04 21:41:59 -05:00
Skyler Lehmkuhl 1719b645ae Load transformed images 2024-12-04 17:07:33 -05:00
Skyler Lehmkuhl 016e8148ed transform tool 2024-12-04 16:21:55 -05:00
Skyler Lehmkuhl c66f84c1ed Export animation 2024-12-03 21:08:41 -05:00
Skyler Lehmkuhl ba54e4de8b consolidate hit tests 2024-12-03 10:51:09 -05:00
Skyler Lehmkuhl 3cf65e1743 group 2024-12-03 10:45:03 -05:00
Skyler Lehmkuhl dac0fc3efb load motion tween 2024-12-03 00:50:02 -05:00
Skyler Lehmkuhl a891475c62 load frames in opened file 2024-12-03 00:38:01 -05:00
Skyler Lehmkuhl 95834bb0e9 motion tween 2024-12-02 20:06:50 -05:00
Skyler Lehmkuhl d162a9599b drag ui panes 2024-12-02 15:15:52 -05:00
Skyler Lehmkuhl 7778107e4d change pane type 2024-12-02 14:40:40 -05:00
Skyler Lehmkuhl e0ba8ed8c3 save regions 2024-12-02 11:48:05 -05:00
Skyler Lehmkuhl 7f3fc1a4f3 work on menus 2024-11-27 07:42:58 -05:00
Skyler Lehmkuhl 740e728827 add new file dialog 2024-11-26 19:07:41 -05:00
Skyler Lehmkuhl 70d8229a32 Add app menu 2024-11-26 15:24:02 -05:00
Skyler Lehmkuhl 5290fc6b11 open file 2024-11-26 14:10:46 -05:00
Skyler Lehmkuhl bdb6b067f2 save file 2024-11-26 13:18:53 -05:00
Skyler Lehmkuhl e0c5e13f57 finally, paint bucket 2024-11-26 08:50:38 -05:00
Skyler Lehmkuhl f3b0a08c19 glitchy region filling 2024-11-26 07:21:55 -05:00
Skyler Lehmkuhl c2903c535e put color on curve objects but like for real this time 2024-11-21 01:01:26 -05:00
Skyler Lehmkuhl 265d9564ad put color on curve objects 2024-11-21 00:58:27 -05:00
Skyler Lehmkuhl 1569a40495 fix rectangles 2024-11-21 00:40:30 -05:00
Skyler Lehmkuhl 47b8df5d3e Edit vertices 2024-11-21 00:33:10 -05:00
Skyler Lehmkuhl 78f03c2a12 Handle curve selections properly for overlapping shapes 2024-11-20 10:33:17 -05:00
Skyler Lehmkuhl 75884e0d7d split curves on intersections 2024-11-20 10:09:36 -05:00
Skyler Lehmkuhl af2f499412 did stuff 2024-11-20 09:38:45 -05:00
Skyler Lehmkuhl 551993bc16 move objects 2024-11-20 02:41:14 -05:00
Skyler Lehmkuhl 380fcf0c32 Curve editing 2024-11-20 00:08:50 -05:00
Skyler Lehmkuhl 45a055250b Initial undo/redo support 2024-11-19 21:45:47 -05:00
Skyler Lehmkuhl 709bd46ab8 implement selecting better 2024-11-18 17:36:50 -05:00
Skyler Lehmkuhl 863788b906 select objects 2024-11-18 07:14:31 -05:00
Skyler Lehmkuhl 175eb7e484 basic curve editing through moving control points 2024-11-18 06:14:04 -05:00
Skyler Lehmkuhl 3dee1bae17 use bezier library for curve handling 2024-11-18 04:48:17 -05:00
Skyler Lehmkuhl d37b0b0450 import images via drag&drop 2024-11-18 02:07:17 -05:00
Skyler Lehmkuhl cd1902bf1b handle enum selections 2024-11-17 21:01:54 -05:00
Skyler Lehmkuhl 380a4a00d9 info panel improvements 2024-11-17 18:08:07 -05:00
Skyler Lehmkuhl f5113d6687 place shape objects on frame 2024-11-17 05:22:40 -05:00
Skyler Lehmkuhl 277aec918c use better polyline simplification 2024-11-16 05:39:23 -05:00
Skyler Lehmkuhl e3f40b9ac2 manually relayout ui 2024-11-16 04:14:49 -05:00
Skyler Lehmkuhl d85da1c3a3 add hard edge simplification 2024-11-15 05:26:12 -05:00
Skyler Lehmkuhl 455e401794 simplify curves 2024-11-15 03:05:52 -05:00
Skyler Lehmkuhl 11f35466e9 show colors on page load 2024-11-15 01:45:50 -05:00
Skyler Lehmkuhl 36f8c99dd3 basic drawing of closed shapes 2024-11-15 00:15:58 -05:00
Skyler Lehmkuhl 9491a1006e Initial commit 2024-11-14 19:41:53 -05:00