mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-29 23:18:13 +08:00
Fix tool shelf's scrollbar layout shift
Caused by Chromium 113 removing `overflow: overlay;`. This fixes it for just the tool shelf.
This commit is contained in:
@@ -200,7 +200,7 @@
|
||||
bind:this={self}
|
||||
>
|
||||
<!-- If we put the scrollableY on the layoutcol for non-font dropdowns then for some reason it always creates a tiny scrollbar.
|
||||
However when we are using the virtual scrolling then we need the layoutcol to be scrolling so we can bind the events without using $refs. -->
|
||||
However when we are using the virtual scrolling then we need the layoutcol to be scrolling so we can bind the events without using `self`. -->
|
||||
<LayoutCol
|
||||
bind:this={scroller}
|
||||
scrollableY={scrollableY && virtualScrollingEntryHeight !== 0}
|
||||
|
||||
Reference in New Issue
Block a user