From 53620b9f1b0f82b7c076e3e82a453c7282d3cb00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Moya?= Date: Wed, 28 Jul 2021 16:15:56 +0200 Subject: [PATCH] =?UTF-8?q?:bug:=20Fix=20tooltip=20errors=EF=BC=9Amove=20n?= =?UTF-8?q?odes=20and=20draw=20nodes=20are=20swapped?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From PR https://github.com/penpot/penpot/pull/1100 by @soultipsy --- CHANGES.md | 3 +++ frontend/src/app/main/ui/workspace/viewport/path_actions.cljs | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index abec28d9f..1786d3b37 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -13,6 +13,9 @@ ### :boom: Breaking changes ### :heart: Community contributions by (Thank you!) +- soultipsy [#1100](https://github.com/penpot/penpot/pull/1100) + + ## 1.7.1-alpha ### :bug: Bugs fixed diff --git a/frontend/src/app/main/ui/workspace/viewport/path_actions.cljs b/frontend/src/app/main/ui/workspace/viewport/path_actions.cljs index f6d85e32c..1aef9a82f 100644 --- a/frontend/src/app/main/ui/workspace/viewport/path_actions.cljs +++ b/frontend/src/app/main/ui/workspace/viewport/path_actions.cljs @@ -108,14 +108,14 @@ ;; Draw Mode [:div.viewport-actions-entry.tooltip.tooltip-bottom {:class (when (= edit-mode :draw) "is-toggled") - :alt (tr "workspace.path.actions.move-nodes" (sc/get-tooltip :move-nodes)) + :alt (tr "workspace.path.actions.draw-nodes" (sc/get-tooltip :draw-nodes)) :on-click on-select-draw-mode} i/pen] ;; Edit mode [:div.viewport-actions-entry.tooltip.tooltip-bottom {:class (when (= edit-mode :move) "is-toggled") - :alt (tr "workspace.path.actions.draw-nodes" (sc/get-tooltip :draw-nodes)) + :alt (tr "workspace.path.actions.move-nodes" (sc/get-tooltip :move-nodes)) :on-click on-select-edit-mode} i/pointer-inner]]