Remove label
This commit is contained in:
parent
033d2d973a
commit
191b2da96c
@ -14,9 +14,6 @@ const BUTTON_PADDING: Vec2 = Vec2 { x: 24.0, y: 5.0 };
|
||||
pub struct TemplateApp {
|
||||
calculator: Calculator,
|
||||
|
||||
// Example stuff:
|
||||
label: String,
|
||||
|
||||
#[serde(skip)]
|
||||
latest_error: Option<CalculatorError>,
|
||||
|
||||
@ -28,8 +25,6 @@ impl Default for TemplateApp {
|
||||
fn default() -> Self {
|
||||
Self {
|
||||
calculator: Calculator::default(),
|
||||
// Example stuff:
|
||||
label: "Hello World!".to_owned(),
|
||||
latest_error: None,
|
||||
error_state: ErrorState::default(),
|
||||
}
|
||||
@ -135,7 +130,7 @@ impl eframe::App for TemplateApp {
|
||||
/// Called each time the UI needs repainting, which may be many times per second.
|
||||
/// Put your widgets into a `SidePanel`, `TopPanel`, `CentralPanel`, `Window` or `Area`.
|
||||
fn update(&mut self, ctx: &egui::Context, _frame: &mut eframe::Frame) {
|
||||
let Self { label, .. } = self;
|
||||
let Self { .. } = self;
|
||||
|
||||
// Examples of how to create different panels and windows.
|
||||
// Pick whichever suits you.
|
||||
|
Loading…
Reference in New Issue
Block a user