Add pen as an input device to the right click handler
This commit is contained in:
		| @@ -110,7 +110,7 @@ HButton { | ||||
|  | ||||
|     TapHandler { | ||||
|         acceptedButtons: Qt.RightButton | ||||
|         acceptedPointerTypes: PointerDevice.GenericPointer | ||||
|         acceptedPointerTypes: PointerDevice.GenericPointer | PointerDevice.Pen | ||||
|         onTapped: { | ||||
|             rightClicked() | ||||
|             if (contextMenu) contextMenuLoader.active = true | ||||
|   | ||||
| @@ -106,7 +106,7 @@ HColumnLayout { | ||||
|  | ||||
|     TapHandler { | ||||
|         acceptedButtons: Qt.RightButton | ||||
|         acceptedPointerTypes: PointerDevice.GenericPointer | ||||
|         acceptedPointerTypes: PointerDevice.GenericPointer | PointerDevice.Pen | ||||
|         onTapped: openContextMenu() | ||||
|     } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	