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