mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-05 14:59:27 -05:00
stickypad: make placeholder show tip with bulletpoints
This commit is contained in:
@@ -55,10 +55,10 @@ OverlayBackground {
|
||||
if (!stickypadInput)
|
||||
return
|
||||
if (immediate) {
|
||||
copylistDebounce.stop()
|
||||
copyListDebounce.stop()
|
||||
updateCopylistEntries()
|
||||
} else {
|
||||
copylistDebounce.restart()
|
||||
copyListDebounce.restart()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -156,8 +156,12 @@ OverlayBackground {
|
||||
|
||||
StyledTextArea {
|
||||
id: stickypadInput
|
||||
anchors {
|
||||
left: parent.left
|
||||
right: parent.right
|
||||
}
|
||||
wrapMode: TextEdit.Wrap
|
||||
placeholderText: Translation.tr("Write...")
|
||||
placeholderText: Translation.tr("Write something here...\nUse '-' to create copyable bullet points, like this:\n\nSheep fricker\n- 4x Slab\n- 1x Boat\n- 4x Redstone Dust\n- 1x Sticky Piston\n- 1x End Rod\n- 4x Redstone Repeater\n- 1x Redstone Torch\n- 1x Sheep")
|
||||
selectByMouse: true
|
||||
persistentSelection: true
|
||||
textFormat: TextEdit.PlainText
|
||||
@@ -292,7 +296,7 @@ OverlayBackground {
|
||||
}
|
||||
|
||||
Timer {
|
||||
id: copylistDebounce
|
||||
id: copyListDebounce
|
||||
interval: 100
|
||||
repeat: false
|
||||
onTriggered: updateCopylistPositions()
|
||||
|
||||
Reference in New Issue
Block a user