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

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