mirror of
https://github.com/adamdruppe/arsd.git
synced 2025-04-27 13:50:00 +03:00
Fix checkbox widget not refreshing when changing 'checked' on Linux
This commit is contained in:
parent
75ced0b8a7
commit
c84e2cfbd5
1 changed files with 1 additions and 1 deletions
|
@ -11132,7 +11132,7 @@ else version(custom_widgets)
|
||||||
/// ditto
|
/// ditto
|
||||||
class MouseActivatedWidget : Widget {
|
class MouseActivatedWidget : Widget {
|
||||||
@property bool isChecked() { return isChecked_; }
|
@property bool isChecked() { return isChecked_; }
|
||||||
@property bool isChecked(bool b) { return isChecked_ = b; }
|
@property bool isChecked(bool b) { isChecked_ = b; this.redraw(); return isChecked_;}
|
||||||
|
|
||||||
private bool isChecked_;
|
private bool isChecked_;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue