Customizable data directory & migration (#1059)

* Customizable data directory & migration

* Add file/dir rename fast-path

* Write data_location.json to base path on Windows; fix UTF-8 custom paths

* Build fix

* Another build fix

* Android data directory selection

* Fix CMake target ref
This commit is contained in:
Luke Street
2026-05-11 22:57:59 -06:00
committed by GitHub
parent 157f4f9df2
commit 79b1f4ab4d
21 changed files with 1651 additions and 237 deletions
+11 -1
View File
@@ -51,6 +51,9 @@ void Button::update_props(Props props) {
}
void ControlledButton::update() {
if (mIsDisabled) {
set_disabled(mIsDisabled());
}
if (mIsSelected) {
set_selected(mIsSelected());
}
@@ -64,4 +67,11 @@ bool ControlledButton::selected() const {
return Button::selected();
}
} // namespace dusk::ui
bool ControlledButton::disabled() const {
if (mIsDisabled) {
return mIsDisabled();
}
return Button::disabled();
}
} // namespace dusk::ui