From af5b9b9680059f6586661c76a467c66a9308052d Mon Sep 17 00:00:00 2001 From: Victor Seiji Hariki Date: Tue, 24 Jan 2023 23:37:38 -0300 Subject: [PATCH] Add history logging Signed-off-by: Victor Seiji Hariki --- css/icons.css | 5 +++ index.html | 8 ++++- js/index.js | 17 ++++++--- js/ui/floating/layers.js | 15 ++++++-- js/ui/tool/colorbrush.js | 34 +++++++++++++----- js/ui/tool/dream.d.js | 23 ++++++++++++ js/ui/tool/dream.js | 52 ++++++++++++++++++++++----- js/ui/tool/select.js | 76 +++++++++++++++++++++++++++++++++------- js/ui/tool/stamp.js | 32 ++++++++++++++--- res/icons/scroll.svg | 7 ++++ 10 files changed, 227 insertions(+), 42 deletions(-) create mode 100644 res/icons/scroll.svg diff --git a/css/icons.css b/css/icons.css index d1c89d7..a1a80ee 100644 --- a/css/icons.css +++ b/css/icons.css @@ -71,6 +71,11 @@ transform: rotate(-90deg); } +.ui.icon > .icon-scroll { + -webkit-mask-image: url("../res/icons/scroll.svg"); + mask-image: url("../res/icons/scroll.svg"); +} + .ui.icon > .icon-settings { -webkit-mask-image: url("../res/icons/settings.svg"); mask-image: url("../res/icons/settings.svg"); diff --git a/index.html b/index.html index 483eb90..94ed8c7 100644 --- a/index.html +++ b/index.html @@ -244,7 +244,13 @@
-
History
+
+ History +
+ +