Commit graph

46 commits

Author SHA1 Message Date
Yousef Khadadeh
783bb7dacb Put drawing program tools code in folder 2025-12-26 10:40:58 +03:00
Yousef Khadadeh
45ba26446a Working on moving canvas code to net objects (broken build) 2025-12-14 18:57:40 +03:00
Yousef Khadadeh
359f20e7fd Add right click popup menu 2025-12-01 17:33:14 +03:00
Yousef Khadadeh
c71199c602 Rotate point distance scales with gui scale 2025-11-23 15:13:17 +03:00
Yousef Khadadeh
c287d2793c Drag GUI circles change with display scale 2025-11-23 15:02:02 +03:00
Yousef Khadadeh
f6961fbf8d Updated skia 2025-11-18 18:15:50 +03:00
Yousef Khadadeh
f0f289d785 Fixed segmentation fault when copying textbox 2025-11-16 16:49:47 +03:00
Yousef Khadadeh
011f8ba0b4 Fixed more RichTextBox issues, fixed segfault from zooming in/out too fast, fixed segfault from undoing an edit 2025-10-25 17:31:55 +03:00
Yousef Khadadeh
3e5a0de347 Clipboard now stores deep copies to ensure that changes to components later dont change clipboard 2025-10-04 10:14:04 +03:00
Yousef Khadadeh
01d6270b62 scaleLimit world scalar isnt constructed in every loop (save performance) 2025-10-04 09:27:40 +03:00
Yousef Khadadeh
8b1c423791 Pasted objects scale properly 2025-10-04 09:10:09 +03:00
Yousef Khadadeh
9f739ada6a Zoom and pan tool no longer deselect objects 2025-10-03 13:16:38 +03:00
Yousef Khadadeh
2aff80d56f Fixed objects disappearing when using edit tool 2025-09-29 15:44:01 +03:00
Yousef Khadadeh
b58e11c703 Press escape to deselect, stop editing elements, and go back to edit tool 2025-09-29 15:15:16 +03:00
Yousef Khadadeh
56b3c27401 Edit/Cursor tool can now select objects, and edit them by double clicking 2025-09-29 11:39:00 +03:00
Yousef Khadadeh
1601de4255 Remove glitch where deselected objects can still appear when transforming selection 2025-09-10 15:14:44 +03:00
Yousef Khadadeh
57392cdfdd IDs are no longer generated on server, fixes error caused by spamming undo and redo 2025-08-27 11:38:36 +03:00
Yousef Khadadeh
6fb150e72a Can copy resources between files again 2025-08-17 10:38:49 +03:00
Yousef Khadadeh
f155905185 Removed RAW support to compile for Emscripten, fixed bug in cache in online use 2025-08-13 19:23:14 +03:00
Yousef Khadadeh
0b72dd4ea9 Rebuild cache when framerate drops significantly from uncached objects 2025-08-07 21:30:40 +03:00
Yousef Khadadeh
7ffa039061 Fixed objects disappearing after deselecting 2025-08-05 19:54:53 +03:00
Yousef Khadadeh
d482d6731a Fixed a segmentation fault when selecting many objects 2025-08-05 19:15:43 +03:00
Yousef Khadadeh
1a5815a994 Can now add and remove from selection using shift and alt 2025-08-05 19:04:47 +03:00
Yousef Khadadeh
2605df6e54 Separated transform commit from deselecting, only one undo required to undo a paste operation 2025-08-05 11:35:22 +03:00
Yousef Khadadeh
a2e4a795f7 Transformations now commited step by step, fixes many transformation related bugs 2025-08-04 18:14:28 +03:00
Yousef Khadadeh
b4babf978e Fixed broken scale transform 2025-08-04 13:30:47 +03:00
Yousef Khadadeh
b08c73ddf1 Fixed a multiplication bug in new multiplier 2025-08-04 12:02:29 +03:00
Yousef Khadadeh
d261293d6b Separate coord space transform class for more correct scaling 2025-08-04 10:47:24 +03:00
Yousef Khadadeh
46370e5762 Objects glow when selected 2025-08-03 18:20:39 +03:00
Yousef Khadadeh
c2301ae9f5 Change how tools get switched 2025-08-02 20:39:21 +03:00
Yousef Khadadeh
90374da228 Restructure how tool data is stored 2025-08-02 20:10:33 +03:00
Yousef Khadadeh
0b1cc8d4c2 Selection cache is also updated when objects are updated 2025-07-31 19:28:18 +03:00
Yousef Khadadeh
ed3d5f6d51 Removed temporary update commits 2025-07-31 09:34:17 +03:00
Yousef Khadadeh
1d0a7fc495 Improved transform and clipboard paste performance, and share memory between copied brush strokes in some instances 2025-07-29 14:11:36 +03:00
Yousef Khadadeh
eb9db31d31 Remove colliderAllocated flag 2025-07-28 14:25:28 +03:00
Yousef Khadadeh
0a75b0ada3 Selection improvements 2025-07-28 13:49:46 +03:00
Yousef Khadadeh
d9761a84b5 Readded clipboard 2025-07-28 11:09:59 +03:00
Yousef Khadadeh
60230cc8ef Scale and translate transformations improved 2025-07-28 09:17:11 +03:00
Yousef Khadadeh
9aa41ddb7f Fixed bugs with undo and redo of multiple objects 2025-07-27 20:04:26 +03:00
Yousef Khadadeh
f606fc6fc1 Improved undo 2025-07-27 16:30:45 +03:00
Yousef Khadadeh
7e69688ca6 Transformations over network work again, with undo and redo 2025-07-27 11:56:34 +03:00
Yousef Khadadeh
b6a25280e6 Improved online performance for canvases with many components 2025-07-26 21:20:14 +03:00
Yousef Khadadeh
8a36bc4b6d Rotation works 2025-07-25 10:00:39 +03:00
Yousef Khadadeh
4a4456524f Added scale transform 2025-07-24 20:36:40 +03:00
Yousef Khadadeh
759f551cd3 Translation works on selection 2025-07-24 19:35:51 +03:00
Yousef Khadadeh
ff1355234f Begin work separating selection code from rectangle select tool 2025-07-24 16:35:48 +03:00