Added AttentionPenDelayTime = 1 to Config.Drawing.Defaults
Changes to History.lua
Attention pen tasks are not recorded to history. (History.RecordTaskToHistory())
Changes to Buttons.lua
Added attention pen mode selection in Buttions.ConnectPenModeButton()
Added attention pen to Buttons.SyncPenModeButton()
Changes to ClientDrawingTasks.lua
Added ClientDrawingTasks.Attention and its methods (Init, Update, Finish, Undo, Redo, Commit)
Attention pen tasks are ignored in Eraser.CollectAndHide()
Changes to ServerDrawingTasks.lua
Added ServerDrawingTasks.Attention and its methods (Init, Update, Finish, Undo, Redo, Commit)
Attention pen tasks are ignored in ServerDrawingTasks.CollectAndHide()
Details
Attention pen mode can be activated by clicking Pen Mode button in the toolbar. Identified by an exclamation mark.
There is a delay time of 1 second after which attention pen strokes disappear. This is activated only after you lift your pen up.
Attention pen is just a freehand pen but with strokes that disappear after some time. So color selection, thickness, Pen A and Pen B exist for this pen as well.
Strokes of the attention pen are replicated to all clients.
Attention pen tasks are named "Attention".
Attention pen is not affected by the eraser tool, undo and redo buttons.
Implements and closes #48
Changes to
Config.lua
AttentionPenDelayTime = 1
toConfig.Drawing.Defaults
Changes to
History.lua
History.RecordTaskToHistory()
)Changes to
Buttons.lua
Buttions.ConnectPenModeButton()
Buttons.SyncPenModeButton()
Changes to
ClientDrawingTasks.lua
ClientDrawingTasks.Attention
and its methods (Init, Update, Finish, Undo, Redo, Commit)Eraser.CollectAndHide()
Changes to
ServerDrawingTasks.lua
ServerDrawingTasks.Attention
and its methods (Init, Update, Finish, Undo, Redo, Commit)ServerDrawingTasks.CollectAndHide()
Details
https://user-images.githubusercontent.com/74130881/159848663-e105cef6-ac35-43cc-841d-4c03b454f499.mp4
From a viewers perspective 😄
https://user-images.githubusercontent.com/74130881/159851513-e2f885a7-79a4-46d8-b20b-9fc30acbebae.mp4