修订版 | c11e1eebe47753ec2f4e5076a58c468c902b89fd (tree) |
---|---|
时间 | 2021-01-20 22:11:03 |
作者 | yyagi <yyagi.dtxmania@gmai...> |
Commiter | yyagi |
#41300 DTXManiaの起動時にウインドウがアクティブになるまで、DTXManiaが起動しない問題を修正。
その他恥ずかしいコメントミスを修正。
@@ -1025,6 +1025,7 @@ namespace DTXMania | ||
1025 | 1025 | r現在のステージ = stage起動; |
1026 | 1026 | } |
1027 | 1027 | r現在のステージ.On活性化(); |
1028 | + this.Window.Activate(); // #41300 workaround to avoid SharpDX exception | |
1028 | 1029 | #endregion |
1029 | 1030 | } |
1030 | 1031 |
@@ -1056,7 +1057,7 @@ namespace DTXMania | ||
1056 | 1057 | #if WindowedFullscreen |
1057 | 1058 | // #30666 2013.2.2 yyagi Don't use Fullscreen mode becasue NVIDIA GeForce is |
1058 | 1059 | // tend to delay drawing on Fullscreen mode. So DTXMania uses Maximized window |
1059 | - // in spite of using fullscreen mode. | |
1060 | + // instead of using fullscreen mode. | |
1060 | 1061 | Instance.Window.WindowState = FormWindowState.Normal; |
1061 | 1062 | Instance.Window.FormBorderStyle = FormBorderStyle.Sizable; |
1062 | 1063 | Instance.Window.WindowState = FormWindowState.Normal; |