OSDN Git Service
(root)
/
strokestylet
/
CsWin10Desktop3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ea63de
)
SSTFEditor で、譜面拡大率の選択肢が下方のときに例外が発生してたミスを修正。
author
くまかみ工房
<kumakamikoubou@gmail.com>
Thu, 1 Dec 2016 12:36:45 +0000
(21:36 +0900)
committer
くまかみ工房
<kumakamikoubou@gmail.com>
Thu, 1 Dec 2016 12:36:45 +0000
(21:36 +0900)
SSTFEditor/メインフォーム.cs
patch
|
blob
|
history
diff --git
a/SSTFEditor/メインフォーム.cs
b/SSTFEditor/メインフォーム.cs
index
1997e77
..
a5912b6
100644
(file)
--- a/
SSTFEditor/メインフォーム.cs
+++ b/
SSTFEditor/メインフォーム.cs
@@
-811,7
+811,7
@@
namespace SSTFEditor
private void _譜面拡大率を変更する( int n倍 )
{
- if( ( 1 > n倍 ) || (
10
< n倍 ) )
+ if( ( 1 > n倍 ) || (
this.toolStripComboBox譜面拡大率.Items.Count
< n倍 ) )
throw new ArgumentException( $"不正な譜面拡大率({n倍})が指定されました。" );
this.toolStripComboBox譜面拡大率.SelectedIndex = ( n倍 - 1 );