1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-29 12:50:04 -04:00

Remove ThemeCache, since it is buggy

This commit is contained in:
Emil Ernerfeldt
2026-08-04 14:11:56 +02:00
parent 0e552c7844
commit 02389a2578
3 changed files with 1 additions and 44 deletions

View File

@@ -93,7 +93,6 @@ fn main() -> eframe::Result {
eframe::run_ui_native("Styling engine", options, move |ui, _frame| {
// Register our theme for all buttons. This is a no-op after the first frame.
// Wrap it in a `ThemeCache` if computing the style is expensive.
ui.add_widget_theme::<ButtonStyle>(theme);
Panel::left("controls").default_size(260.0).show(ui, |ui| {