Skip to content

Commit

Permalink
Initial folder set to '..', requirements update for v1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Askaniy committed Jan 10, 2025
1 parent f0c093f commit eecbafb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
numpy==1.26.4
scipy==1.13.1
Pillow==10.3.0
FreeSimpleGUI==5.1.0
numpy==2.2.1
scipy==1.15.0
Pillow==11.1.0
FreeSimpleGUI==5.1.1
12 changes: 6 additions & 6 deletions src/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@

# FreeSimpleGUI custom theme
sg.LOOK_AND_FEEL_TABLE['MaterialDark'] = {
'BACKGROUND': bg_color, 'TEXT': text_color,
'INPUT': inputON_color, 'TEXT_INPUT': text_color, 'SCROLL': inputON_color,
'BUTTON': (text_color, main_color), 'PROGRESS': ('#000000', '#000000'),
'BORDER': 0, 'SLIDER_DEPTH': 0, 'PROGRESS_DEPTH': 0
}
'BACKGROUND': bg_color, 'TEXT': text_color,
'INPUT': inputON_color, 'TEXT_INPUT': text_color, 'SCROLL': inputON_color,
'BUTTON': (text_color, main_color), 'PROGRESS': ('#000000', '#000000'),
'BORDER': 0, 'SLIDER_DEPTH': 0, 'PROGRESS_DEPTH': 0
}


def create_logger(window: sg.Window, key: str) -> Callable:
Expand All @@ -33,7 +33,7 @@ def generate_layout(img_preview_size: tuple, available_projections: tuple):
[
sg.Text('Select file'),
sg.Input(enable_events=True, size=1, key='-OpenFileName-', expand_x=True),
sg.FileBrowse(size=browse_size, key='-BrowseButton-'),
sg.FileBrowse(size=browse_size, initial_folder='..', key='-BrowseButton-'),
],
[
sg.Text('Oblateness (1 − b/a)'),
Expand Down

0 comments on commit eecbafb

Please sign in to comment.