Remove single tap to maximize code component
This is just more ergonomic (in my opinion) as you usually want to select some text from a code block, instead of maximizing it. There's already an easy-to-access button for maximizing if you want to. BUG: 499048 FIXED-IN: 25.12.2
This commit is contained in:
@@ -121,13 +121,6 @@ QQC2.Control {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
TapHandler {
|
|
||||||
enabled: root.time.toString() !== "Invalid Date"
|
|
||||||
acceptedButtons: Qt.LeftButton
|
|
||||||
acceptedDevices: PointerDevice.Mouse | PointerDevice.TouchPad | PointerDevice.Stylus
|
|
||||||
onTapped: RoomManager.maximizeCode(root.author, root.time, root.display, root.componentAttributes.class)
|
|
||||||
}
|
|
||||||
|
|
||||||
TapHandler {
|
TapHandler {
|
||||||
acceptedDevices: PointerDevice.TouchScreen
|
acceptedDevices: PointerDevice.TouchScreen
|
||||||
onLongPressed: {
|
onLongPressed: {
|
||||||
|
|||||||
Reference in New Issue
Block a user