Release color picker on right click

This commit is contained in:
MathemanFlo
2022-03-15 22:04:28 +01:00
parent 0b98385d8d
commit 683b813e47
+1 -1
View File
@@ -461,7 +461,7 @@ class App {
Krom.setMouseCursor(0); // Arrow
isDragging = false;
}
if (Context.colorPickerCallback != null && mouse.released()) {
if (Context.colorPickerCallback != null && (mouse.released() || mouse.released("right"))) {
Context.colorPickerCallback = null;
}