Skip to content

Commit

Permalink
change default path of file browser to ./
Browse files Browse the repository at this point in the history
  • Loading branch information
mrDIMAS committed Dec 20, 2024
1 parent 27d7276 commit fbd30ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fyrox-ui/src/file_browser/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -897,7 +897,7 @@ impl FileBrowserBuilder {
pub fn new(widget_builder: WidgetBuilder) -> Self {
Self {
widget_builder,
path: Default::default(),
path: "./".into(),
filter: None,
root: None,
mode: FileBrowserMode::Open,
Expand Down
2 changes: 1 addition & 1 deletion fyrox-ui/src/file_browser/selector.rs
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ impl FileSelectorBuilder {
window_builder,
filter: None,
mode: FileBrowserMode::Open,
path: Default::default(),
path: "./".into(),
root: None,
}
}
Expand Down

0 comments on commit fbd30ac

Please sign in to comment.