Commit Graph

14 Commits

Author SHA1 Message Date
86369db055 add functionality for changing height of canvas 2025-07-11 22:57:20 +01:00
a448fcf469 fix bugs relating to resizing canvas width 2025-07-11 22:20:29 +01:00
08ed5cc3d5 progress updating canvas width at runtime 2025-07-11 17:41:47 +01:00
e760b158ac change how modal num works so that it is only clipped to 255 if setting a new colour/alpha value 2025-07-11 17:30:57 +01:00
ac69e95a0c add function to help change size of canvas 2025-07-11 17:21:50 +01:00
5cd909430d a bit of refactoring, moving code to update 'squares' vector in app-with.sml to its own function (to make it reuseable) 2025-07-11 17:03:48 +01:00
c898d83d6e add undo and redo fields (but we are not acting on them) 2025-07-11 16:54:07 +01:00
7028391298 add functionality to draw in different colours 2025-07-11 16:39:39 +01:00
040fc67c80 add code to let user change alpha valua 2025-07-11 15:34:29 +01:00
d5fda8b488 improve creation of click points, so that we can have a pixel be a perfect square, even if the canvas isn't 2025-07-11 00:57:29 +01:00
9b2f3e90cb amend bug relating to being unable to select on quad tree, related to dividing odd numbers by 2 (because performing integer division on an odd number by 2 results in rounding, which we don't want) 2025-07-07 01:48:15 +01:00
6a6a36a277 fix bug regarding squares not updating properly, and remove debugging code for that functionality 2025-07-06 15:54:08 +01:00
bba293d406 fix bug in not properly updating squares vector 2025-07-06 15:52:10 +01:00
2e0549097e begin merging files which were previously in temp-squares directory into main 2025-07-06 14:56:54 +01:00