mirror of
https://github.com/penpot/penpot.git
synced 2025-05-09 23:56:38 +02:00
🐛 Fix grid layout controls being clipped by scroll
This commit is contained in:
parent
a0426d14cc
commit
7ddfdb1e15
1 changed files with 9 additions and 9 deletions
|
@ -377,8 +377,8 @@
|
||||||
[:clipPath {:id "clip-handlers"}
|
[:clipPath {:id "clip-handlers"}
|
||||||
[:rect {:x (+ (:x vbox) rule-area-size)
|
[:rect {:x (+ (:x vbox) rule-area-size)
|
||||||
:y (+ (:y vbox) rule-area-size)
|
:y (+ (:y vbox) rule-area-size)
|
||||||
:width (max 0 (- (:width vbox) (* rule-area-size 2)))
|
:width (max 0 (- (:width vbox) rule-area-size))
|
||||||
:height (max 0 (- (:height vbox) (* rule-area-size 2)))}]]]
|
:height (max 0 (- (:height vbox) rule-area-size))}]]]
|
||||||
|
|
||||||
[:g {:style {:pointer-events (if disable-events? "none" "auto")}}
|
[:g {:style {:pointer-events (if disable-events? "none" "auto")}}
|
||||||
(when show-text-editor?
|
(when show-text-editor?
|
||||||
|
@ -539,12 +539,6 @@
|
||||||
[:& presence/active-cursors
|
[:& presence/active-cursors
|
||||||
{:page-id page-id}])
|
{:page-id page-id}])
|
||||||
|
|
||||||
[:& scroll-bars/viewport-scrollbars
|
|
||||||
{:objects base-objects
|
|
||||||
:zoom zoom
|
|
||||||
:vbox vbox
|
|
||||||
:bottom-padding (when palete-size (+ palete-size 8))}]
|
|
||||||
|
|
||||||
(when-not hide-ui?
|
(when-not hide-ui?
|
||||||
[:& rules/rules
|
[:& rules/rules
|
||||||
{:zoom zoom
|
{:zoom zoom
|
||||||
|
@ -637,4 +631,10 @@
|
||||||
:objects base-objects
|
:objects base-objects
|
||||||
:modifiers modifiers
|
:modifiers modifiers
|
||||||
:shape frame
|
:shape frame
|
||||||
:view-only true}]))]]]]))
|
:view-only true}]))
|
||||||
|
|
||||||
|
[:& scroll-bars/viewport-scrollbars
|
||||||
|
{:objects base-objects
|
||||||
|
:zoom zoom
|
||||||
|
:vbox vbox
|
||||||
|
:bottom-padding (when palete-size (+ palete-size 8))}]]]]]))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue