Skip to content

Commit

Permalink
Update crates/re_viewer/src/ui/top_panel.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com>
  • Loading branch information
Wumpf and emilk authored Jun 28, 2023
1 parent 95b6e6a commit c15bf41
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crates/re_viewer/src/ui/top_panel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,9 @@ fn website_link_ui(ui: &mut egui::Ui, app: &mut App) {

let image_size = icon_image.size_vec2() * (desired_height / icon_image.size_vec2().y);
let texture_id = icon_image.texture_id(ui.ctx());
let response = ui.add(egui::ImageButton::new(texture_id, image_size));
let response =
ui.add(egui::ImageButton::new(texture_id, image_size))
.on_hover_cursor(CursorIcon::PointingHand);
let url = "https://rerun.io/";
if response.clicked() {
let modifiers = ui.ctx().input(|i| i.modifiers);
Expand Down

0 comments on commit c15bf41

Please sign in to comment.