Skip to content

Commit 8954dfe

Browse files
committed
hide ruler lock
1 parent 889f01c commit 8954dfe

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

src/renderer/views.cljs

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
[re-frame.registrar]
77
[renderer.attribute.views :as attr]
88
[renderer.codemirror.views :as cm]
9-
[renderer.components :as comp]
9+
#_[renderer.components :as comp]
1010
[renderer.debug :as debug]
1111
[renderer.dialog.views :as dialog]
1212
[renderer.document.views :as doc]
@@ -16,7 +16,6 @@
1616
[renderer.notification.views :as notification]
1717
[renderer.reepl.views :as repl]
1818
[renderer.rulers.views :as rulers]
19-
[renderer.timeline.views :as timeline]
2019
[renderer.toolbar.object :as toolbar.object]
2120
[renderer.toolbar.status :as toolbar.status]
2221
[renderer.toolbar.tools :as toolbar.tools]
@@ -32,14 +31,14 @@
3231
(when rulers?
3332
[:div.flex
3433
[:div.bg-primary {:style {:width "23px" :height "23px"}}
35-
[comp/toggle-icon-button
36-
{:active? @(rf/subscribe [:rulers-locked?])
37-
:active-icon "lock"
38-
:active-text "unlock"
39-
:inactive-icon "unlock"
40-
:inactive-text "lock"
41-
:class "small"
42-
:action #(rf/dispatch [:toggle-rulers-locked])}]]
34+
#_[comp/toggle-icon-button
35+
{:active? @(rf/subscribe [:rulers-locked?])
36+
:active-icon "lock"
37+
:active-text "unlock"
38+
:inactive-icon "unlock"
39+
:inactive-text "lock"
40+
:class "small"
41+
:action #(rf/dispatch [:toggle-rulers-locked])}]]
4342
[:div.w-full.ml-px.bg-primary
4443
[rulers/ruler {:orientation :horizontal :size 23}]]])]
4544
[:div.flex.flex-1.relative

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy