We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ffb0fe commit 946c174Copy full SHA for 946c174
1 file changed
src/bin/drawing/ui.rs
@@ -3,12 +3,12 @@ pub mod views;
3
pub mod widgets;
4
5
use crate::app_state::AppState;
6
-use egui::vec2;
7
use egui::Color32;
8
use egui::FontDefinitions;
9
use egui::Layout;
10
use egui::Style;
11
use egui::Visuals;
+use egui::vec2;
12
use egui_wgpu_backend::RenderPass;
13
use egui_wgpu_backend::ScreenDescriptor;
14
use egui_winit_platform::PlatformDescriptor;
@@ -83,6 +83,9 @@ impl Hud {
83
self.platform.begin_pass();
84
85
// Draw the demo application.
86
+ self.platform
87
+ .context()
88
+ .style_mut(|style| style.visuals.text_cursor.blink = false);
89
self.ui.ui(&self.platform.context(), app_state);
90
91
// End the UI frame. We could now handle the output and draw the UI with the backend.
0 commit comments