mirror of https://github.com/linebender/xilem
Add comment in accessibility pass (#704)
This commit is contained in:
parent
ed5c141701
commit
6f111233d7
|
@ -105,6 +105,8 @@ fn build_access_node(widget: &mut dyn Widget, ctx: &mut AccessCtx) -> NodeBuilde
|
|||
.collect::<Vec<NodeId>>(),
|
||||
);
|
||||
|
||||
// Note - These WidgetState flags can be modified by other passes.
|
||||
// When that happens, the other pass should set flags to request an accessibility pass.
|
||||
if ctx.is_hovered() {
|
||||
node.set_hovered();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue