DawnFz / Genshin.Launcher.Plus

[原神启动器Plus] lightweight globalized Genshin Impact launcher. Support arbitrarily resolution ratio, account switching, client convertion, FPS unlocking and more!
MIT License
811 stars 56 forks source link

主界面启动后没有居中显示 #56

Closed vsouild closed 2 years ago

vsouild commented 2 years ago

Setting.ini配置文件里的初始参数非整数

MainHeight=730.0840336134454
MainWidth=1280.2689075630253
Lightczx commented 2 years ago

https://github.com/DawnFz/Genshin.Launcher.Plus/blob/596ec4fd5d2d816d0c8d03fefdf67ba65ff56449/GenShin_Launcher_Plus/MainWindow.xaml#L12-L14

设置窗口尺寸使用绑定是无法和 WindowStartupLocation="CenterScreen" 同时正常工作的 WindowStartupLocation="CenterScreen" 由于是直接值,所以会早于任何{Binding}

DawnFz commented 2 years ago

已解决,下个推送版本修复