prevent storing preset when clicking an empty slot with shift+ctrl

This commit is contained in:
2026-06-30 14:21:29 +02:00
parent 1897983305
commit dabb81f8e4

View File

@@ -1780,7 +1780,9 @@ function onclick(x,y,but,cmd,shift,capslock,option,ctrl)
output = "select"; output = "select";
} }
if (shift) { if (shift) {
if (!option && !ctrl) {
output = "store"; output = "store";
}
if (option && slots[last_hovered].filled) { if (option && slots[last_hovered].filled) {
output = "delete"; output = "delete";
} }