forge
Explore
Log in

Don't you dare go Hollow

Focused stream shows the pointer cursor since clicking it exits

Browse files at this commit

caa00f6f99548c0a25694f3d9c8acdb6bd12787cAhmet Kaan GümüşParent: df31852
  • style
    • focused stream shows the pointer cursor since clicking it exits
Show full message
💄 style: focused stream shows the pointer cursor since clicking it exits
crates/client/src/gui/share_view.rsmodified+1 -0
@@ -800,6 +800,7 @@ impl Yumush {
800 .id("viewer_video")800 .id("viewer_video")
801 .absolute()801 .absolute()
802 .inset_0()802 .inset_0()
803+ .when(!viewer.cursor_hidden, |video| video.cursor_pointer())
803 .on_click({804 .on_click({
804 let entity = entity.clone();805 let entity = entity.clone();
805 move |_, _, cx| entity.update(cx, |yumush, cx| yumush.close_viewer(cx))806 move |_, _, cx| entity.update(cx, |yumush, cx| yumush.close_viewer(cx))