mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-05 23:09:26 -05:00
stickypad: adjust spacing
This commit is contained in:
@@ -113,6 +113,7 @@ OverlayBackground {
|
||||
const rangeEnd = Math.max(selectionStart, selectionEnd);
|
||||
|
||||
const entries = parsedCopylistLines.map(line => {
|
||||
// Don't show copy button if line is (partially) selected
|
||||
const caretIntersects = rangeEnd > line.start && rangeStart <= line.end;
|
||||
if (caretIntersects)
|
||||
return null;
|
||||
@@ -137,7 +138,7 @@ OverlayBackground {
|
||||
ColumnLayout {
|
||||
id: stickypadLayout
|
||||
anchors.fill: parent
|
||||
spacing: 0
|
||||
spacing: -16
|
||||
|
||||
ScrollView {
|
||||
id: editorScrollView
|
||||
@@ -147,7 +148,7 @@ OverlayBackground {
|
||||
ScrollBar.vertical.policy: ScrollBar.AsNeeded
|
||||
onWidthChanged: root.scheduleCopylistUpdate(true)
|
||||
|
||||
StyledTextArea {
|
||||
StyledTextArea { // This has to be a direct child of ScrollView for proper scrolling
|
||||
id: stickypadInput
|
||||
anchors {
|
||||
left: parent.left
|
||||
|
||||
Reference in New Issue
Block a user