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
|
||||
anchors.fill: parent
|
||||
acceptedButtons: root.editing ? Qt.NoButton : Qt.LeftButton
|
||||
cursorShape: (root.enableMouseSelection || root.editing) ? Qt.IBeamCursor : Qt.ArrowCursor
|
||||
onWheel: (event) => {
|
||||
event.accepted = false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user