File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed
Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -44,8 +44,10 @@ struct Checkbox : Ui::View<Checkbox> {
4444
4545 if (_mouseListener.isPress ()) {
4646 g.strokeStyle (Gfx::stroke (Ui::GRAY600).withWidth (1 ).withAlign (Gfx::INSIDE_ALIGN));
47- g.stroke (bound ().cast <f64 >(), 4 );
47+ } else {
48+ g.strokeStyle (Gfx::stroke (Ui::GRAY500).withWidth (1 ).withAlign (Gfx::INSIDE_ALIGN));
4849 }
50+ g.stroke (bound ().cast <f64 >(), 4 );
4951 }
5052
5153 g.pop ();
Original file line number Diff line number Diff line change @@ -186,7 +186,14 @@ export Ui::Child scaffold(Scaffold scaffold) {
186186
187187export auto scaffoldContent () {
188188 return [](Ui::Child child) {
189- return child | Ui::box ({.borderRadii = 6 , .backgroundFill = Ui::GRAY950});
189+ return child |
190+ Ui::bound () |
191+ Ui::box ({
192+ .borderRadii = 6 ,
193+ .borderWidth = 1 ,
194+ .borderFill = Ui::GRAY800,
195+ .backgroundFill = Ui::GRAY950,
196+ });
190197 };
191198}
192199
You can’t perform that action at this time.
0 commit comments