Focused stream shows the pointer cursor since clicking it exits
Browse files at this commitcaa00f6f99548c0a25694f3d9c8acdb6bd12787cParent: df31852- style
- focused stream shows the pointer cursor since clicking it exits
1 changed file +1 -0
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)) |