forked from Shinonome/dots-hyprland
ai chat: code block: i beam cursor when editing
This commit is contained in:
@@ -470,6 +470,7 @@ Rectangle {
|
|||||||
id: codeBlockMouseArea
|
id: codeBlockMouseArea
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
acceptedButtons: root.editing ? Qt.NoButton : Qt.LeftButton
|
acceptedButtons: root.editing ? Qt.NoButton : Qt.LeftButton
|
||||||
|
cursorShape: (root.enableMouseSelection || root.editing) ? Qt.IBeamCursor : Qt.ArrowCursor
|
||||||
onWheel: (event) => {
|
onWheel: (event) => {
|
||||||
event.accepted = false
|
event.accepted = false
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user