mirror of
https://github.com/clangen/musikcube.git
synced 2025-01-01 17:58:29 +00:00
BUGFIX: Fixed Window Centering for new TopLevelWindows
This commit is contained in:
parent
841079be0d
commit
e1c554bd40
@ -119,8 +119,8 @@ HWND TopLevelWindow::Create(Window* parent)
|
||||
style, // Style
|
||||
CW_USEDEFAULT, // X
|
||||
CW_USEDEFAULT, // Y
|
||||
240, // Width
|
||||
120, // Height
|
||||
(this->minSize.width) ? this->minSize.width : 240, // Width
|
||||
(this->minSize.height) ? this->minSize.height: 120, // Height
|
||||
parentHWND, // Parent
|
||||
NULL, // Menu
|
||||
hInstance, // Instance
|
||||
|
Loading…
Reference in New Issue
Block a user