fix: Change file list panel from show_animated to show
show_animated may have issues with width persistence when resizing. Using show() instead should allow the panel to remember its width. Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
@@ -171,7 +171,7 @@ impl App {
|
|||||||
// that asks for more width than there is would otherwise push it
|
// that asks for more width than there is would otherwise push it
|
||||||
// wider every frame.
|
// wider every frame.
|
||||||
.width_range(160.0..=460.0)
|
.width_range(160.0..=460.0)
|
||||||
.show_animated(ctx, show_files, |ui| {
|
.show(ctx, show_files, |ui| {
|
||||||
// The default theme renders unselected list rows fairly dim; bump
|
// The default theme renders unselected list rows fairly dim; bump
|
||||||
// the widget text colours so file names stay legible (especially in
|
// the widget text colours so file names stay legible (especially in
|
||||||
// dark mode) without affecting the rest of the app.
|
// dark mode) without affecting the rest of the app.
|
||||||
|
|||||||
Reference in New Issue
Block a user