Add hover styling support
This commit is contained in:
parent
1bc4f22373
commit
569d99a5a1
8 changed files with 53 additions and 22 deletions
|
@ -1363,7 +1363,14 @@ impl AppContext {
|
|||
window: handle,
|
||||
}));
|
||||
|
||||
let mut window = Window::new(handle, platform_window, self, build_root_view);
|
||||
let mouse_position = self.platform.mouse_position();
|
||||
let mut window = Window::new(
|
||||
handle,
|
||||
platform_window,
|
||||
mouse_position,
|
||||
self,
|
||||
build_root_view,
|
||||
);
|
||||
let mut cx = WindowContext::mutable(self, &mut window, handle);
|
||||
cx.layout(false).expect("initial layout should not error");
|
||||
let scene = cx.paint().expect("initial paint should not error");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue