mirror of
https://github.com/emilk/egui.git
synced 2026-08-31 05:40:03 -04:00
Store/restore emigui memory state (window positions, sizes etc)
This commit is contained in:
@@ -101,10 +101,10 @@ impl Widget for Hyperlink {
|
||||
let (text, text_size) = font.layout_multiline(&self.text, region.available_width());
|
||||
let interact = region.reserve_space(text_size, Some(id));
|
||||
if interact.hovered {
|
||||
region.ctx().output.lock().cursor_icon = CursorIcon::PointingHand;
|
||||
region.ctx().output().cursor_icon = CursorIcon::PointingHand;
|
||||
}
|
||||
if interact.clicked {
|
||||
region.ctx().output.lock().open_url = Some(self.url);
|
||||
region.ctx().output().open_url = Some(self.url);
|
||||
}
|
||||
|
||||
if interact.hovered {
|
||||
|
||||
Reference in New Issue
Block a user