All notable changes to this project will be documented in this file. See commit-and-tag-version for commit guidelines.
2.1.2 (2025-01-04)
- brush: prevent overlay click fire twice (b2e4815)
2.1.1 (2025-01-03)
2.1.0 (2024-06-10)
- line: drawing line (bcf2ada)
- line: start creating line (02e429b)
- line: update cursor (6b293f6)
- shape: add custom stroke style (3e97e05)
- socket: start setup socket.io (524c9e1)
- widgets: add widgets (14bca91)
- centralise data attributes (7a33480)
- line: id/title (b5dfbc7)
- optionnal
_sockerDraw
on abstract classBaseWidget
(f26aabf) - resize when is full on window resizing (fb5511c)
- same line draw multiple time (6bf0dc0)
- types error (1415e22)
2.0.1 (2024-04-18)
- dropdown: trigger hide if is shown only (8a66747)
2.0.0 (2024-04-11)
- rename
resetDraw
toresetDrawer
(e8d9e04)
- width for text node editing (550bdc1)
1.0.0 (2024-04-11)
- rename
clearConfirmModal
andclearStoredConfirmModal
- create class for layout management (2837ef6)
- rename
clearConfirmModal
andclearStoredConfirmModal
(eafe34c)
-
change default options
autoSave
to true -
move
activeWidget
from toolbar to drawer -
default size full screen
-
add
autoSave
option -
change default options
autoSave
to true (662f7f2) -
move
activeWidget
from toolbar to drawer (a1496d6)
- add
autoSave
option (e4d2c00) - add
Clear stored data
button (09615e8) - add
localStorageKey
option (7c0aa4a) - add
resetDraw
method (1823090) - add
strokeWidth
andstrokeColor
options (2ed957d) - add
strokeWidth
andstrokeColor
options (4eafc81) - add
Text
widget (4e7865d) - add bgcolor button and optimise stling (0e2cfca)
- add context menu (9afd7b3)
- add context menu (d80c6bb)
- add ctrl + a shortcut + unselect (16b4f46)
- add dropdown / confirm modal (a9a1ac7)
- add help button with modal (917feb0)
- add hotkey info into toolbar buttons (6cab993)
- add key event move shape (b2ea58d)
- add method
getDrawingShapes
for get all shapes draw from user (78affae) - add microevent plugin (1ecb32b)
- add opacity to overlay (ad2bd43)
- add options (007b32d)
- add overlay class (a385f53)
- add rotation snap (a1cafae)
- add save/load from json (862ac38)
- add select overlay and update fieds (d5a6eff)
- add setColor method (7e90d15)
- add setting btn (9eb4470)
- add shortcut for brush toolbar button (9da4a87)
- add shortcut keyboard events (a960ac2)
- add snapping shape (3e661cd)
- add test hotkey (96019c6)
- add text hotkey (3454b61)
- add undo / redo tool (0e19950)
- add undo redo widgets (491077a)
- add wheel zoom event (9fb3a6e)
- add zen mode (fd4652f)
- add zoom tool (2104626)
- change cursor on hover shape in selection mode (ff48e8d)
- context-menu: add snapping button (1de0223)
- hit detection for line to her rect zone (1ef9368)
- implement perfect-freehand (53c2d23)
- manage undo/redo buttons state (a750d04)
- modal: add
closeOnEsc
option (f4fb1b2) - modal: add hotkey clear canvas (583a7b5)
- paste from context menu (78bbefd)
- snapping on resiz (depend on grid) (1d9ad37)
- start drag snap on grid (af6ae8f)
- start implementing overlay brush (3c435fc)
- start implementing overlay brush (9cd9064)
- toast (4a0120a)
- use
ModalConfirm
for clear stored data (b5e5744)
- add default id (41e4803)
- anchor on selection (ad9902a)
- available anchor for text shape (d9966b2)
- calcul text width (be8d22e)
- clear all draw (fb2e08d)
- clear canvas draw line (7fcb672)
- clear grid events (0e7cc64)
- considere textnode for undo/redo (0fb9543)
- default size full screen (87bb542)
- dropdown button clickable (bd8a38b)
- eraser mode inly on hover shape (bf2b232)
- eraser take all drawing shape (364a6bb)
- focus drawer on select all (ctrl+a) (a491332)
- fontSize / textarea take scaling for calcul (acc9167)
- hide grid (10b9890)
- hide grid save (f56b51c)
- hide undo/redo for zen mode (f4638f2)
- hit detection on changing tool (86c7a44)
- hotkey ctrl+a doesn't work (f200495)
- infinite grid and remove snap lines (14031b5)
- init default tool (a3d9f03)
- keepRatio for text shape (c076a3f)
- limit min/max scale (790039f)
- line (f770e44)
- modal: useless call to hide (71255d3)
- order layer for selection layer on top (c32025f)
- paste set draggable when selection mode active (382a6b5)
- paste text and restore text state (22be243)
- pointer position on erasing (7a3ee93)
- pointer-events during draw/erase/selection or paning (3ace168)
- prevent right click for select (3fd1ddd)
- remove line hovering only (716bc2f)
- remove shape on hovering with eraser (e7fa1f8)
- remove zindex (layer order fix this) (5cd77af)
- replacing error (infinite loop oops) (bab3c78)
- restore saved content (9ce6738)
- select zone not visible (eba59ac)
- selected drawing shape (bc3ace3)
- set draggable only for selection tool (0e20de8)
- set focus to drawer for event key (020d74e)
- set size from sotrage (5fe3a08)
- show / hide overlay (2da855b)
- show/hide overlay on delete node (5f4036f)
- text sizing / edit depend on scaling (01c3e6c)
- transform during draw/erase or other (7aafeb9)
- trigger change on toggle snap (3eb66b9)
- trigger change on update selected shape (c384787)
- update
_duringAction
for considere text editing (88b8664) - update bg position (ec4b421)
- update bg position and grid lines (daaba3e)
- update cursor on zoom (a9ba5e2)
- update cursor on zoom (brush) (fd99105)
- update grid on zoom (c0c5cd4)
- update hitFunc on unselected node (1295f85)