Add Space Mode Settings to Search

This commit is contained in:
slprime committed 2024-12-14 16:18:11 +02:00
1 parent c305649b95
commit e4464cfad9
6 files changed
+160 -65

No files matched your search

@@ -29,6 +29,18 @@ public class OptionCycled extends OptionButton {
return prefixed ? translateN(name) : null;
}
@Override
public String getTooltip() {
String tooltip = name + "." + value() + ".tip";
String s = translateN(tooltip);
if (!s.equals(namespaced(tooltip))) {
return s;
}
return super.getTooltip();
}
@Override
public boolean onClick(int button) {
return cycle();