Merge pull request 'feature/window' (#16) from feature/window into develop

Reviewed-on: Dandaedre/rcraft_solver#16
This commit is contained in:
Dandaedre 2023-02-24 23:22:31 +01:00
commit 4f2e2b0aa8
3 changed files with 4 additions and 3 deletions

View File

@ -220,9 +220,9 @@ def refresh_log() -> True:
if __name__ == '__main__':
dpg.create_context()
dpg.configure_app(manual_callback_management=True)
dpg.create_viewport(title='XIV Solver', width=500, height=700)
dpg.create_viewport(title='XIV Solver', width=500, height=700, resizable=False)
with dpg.window(label="Settings", width=500, height=700, no_resize=True, no_title_bar=True, no_move=True):
with dpg.window(label="Settings", width=500, height=700, no_resize=True, no_title_bar=True, no_move=True, no_collapse=True):
# Initialization of all our classes
loggers = log.Loggers()

View File

@ -151,7 +151,7 @@ class Solver:
done = True
if not done:
self.loggers.add_log('Could not find a rotation for 150% quality.\n'
self.loggers.add_log('Could not find a rotation for a 50% Safe Margin.\n'
' Defaulting to Best Quality.')
self.safe_50 = self.best_quality

View File

@ -7,6 +7,7 @@ supported_languages = {
'basicSynth': 'Basic Synthesis',
'basicSynth2': 'Basic Synthesis',
'basicTouch': 'Basic Touch',
'observe': 'Observe',
'mastersMend': "Master's mend",
'hastyTouch': 'Hasty Touch',
'rapidSynthesis': 'Rapid Synthesis',