Fix decal painting in pen-only mode

This commit is contained in:
Lubos Lenco
2021-11-15 14:20:00 +01:00
parent 69f777bfba
commit 9f82a0ea05
+6 -1
View File
@@ -535,7 +535,12 @@ class UISidebar {
#if krom_ios
// No hover on iPad, decals are painted by pen release
if (decal) down = Input.getMouse().released() || Input.getPen().released();
if (decal) {
down = Input.getPen().released();
if (!Context.penPaintingOnly) {
down = down || Input.getMouse().released();
}
}
#end
if (down) {