File tree 1 file changed +0
-6
lines changed
1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -198,17 +198,11 @@ impl Widget for CalcButton {
198
198
ctx. mutate_later ( & mut self . inner , move |mut inner| {
199
199
SizedBox :: set_border ( & mut inner, Color :: WHITE , 3.0 ) ;
200
200
} ) ;
201
- // FIXME - This is a monkey-patch for a problem where the mutate pass isn't run after this.
202
- // Should be fixed once the pass spec RFC is implemented.
203
- ctx. request_anim_frame ( ) ;
204
201
}
205
202
Update :: HoveredChanged ( false ) => {
206
203
ctx. mutate_later ( & mut self . inner , move |mut inner| {
207
204
SizedBox :: set_border ( & mut inner, Color :: TRANSPARENT , 3.0 ) ;
208
205
} ) ;
209
- // FIXME - This is a monkey-patch for a problem where the mutate pass isn't run after this.
210
- // Should be fixed once the pass spec RFC is implemented.
211
- ctx. request_anim_frame ( ) ;
212
206
}
213
207
_ => ( ) ,
214
208
}
You can’t perform that action at this time.
0 commit comments