ai chat: code block: i beam cursor when editing

This commit is contained in:
end-4 2025-05-08 11:29:19 +02:00
parent 0a331061c3
commit 6223320d7d

View file

@ -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
}