set 500 ms double click interval
previously it was 750 ms which is too high and caused unwanted double clicks to occur
@@ -730,7 +730,7 @@ impl UserInterface {
need_update_global_transform: Default::default(),
default_font,
double_click_entries: Default::default(),
- double_click_time_slice: 0.75,
+ double_click_time_slice: 0.5, // 500 ms is standard in most operating systems.
};
ui.root_canvas = ui.add_node(UiNode::new(Canvas::new(WidgetBuilder::new().build())));
ui.keyboard_focus_node = ui.root_canvas;
