OSDN Git Service

矩形挿入モードの判定条件が間違っていたので修正した
authorgdkhd812 <test@nnn.co.jp>
Sun, 25 Oct 2015 06:48:41 +0000 (12:18 +0530)
committergdkhd812 <test@nnn.co.jp>
Sun, 25 Oct 2015 06:48:41 +0000 (12:18 +0530)
Core/Controller.cs

index fc34dd8..dd051eb 100644 (file)
@@ -610,7 +610,7 @@ namespace FooEditEngine
 
         public bool IsRectInsertMode()
         {
-            if (!this.RectSelection)
+            if (!this.RectSelection || this.View.Selections.Count == 0)
                 return false;
             foreach(Selection sel in this.View.Selections)
             {