Skip to content
Snippets Groups Projects
Commit 99cc23c0 authored by leprob001's avatar leprob001
Browse files

Bugfix, the main window is now being centered after initialization is complete.

parent b6491d04
No related branches found
No related tags found
No related merge requests found
174
\ No newline at end of file
175
\ No newline at end of file
......@@ -61,6 +61,9 @@ end
%% Open main gui
artoa.controller.main.open();
%% Move main window to the center of the screen
movegui(artoaGui.figures.main, 'center');
%% Update the settings defined by ini
if artoa.data.getMember(artoaDataInput.ini, {'view', 'hidedeleteddatapoints'}, false)
artoa.controller.switchHideDeletedPoints();
......
......
......@@ -66,10 +66,6 @@ artoaGui.figures.main = figure( ...
'WindowKeyPressFcn', @artoa.controller.main.shortcuts ...
);
% Move figure to the center of the screen
movegui(artoaGui.figures.main, 'center');
%% Geometry variables
heightWindow = 60; % [characters]
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment