From ad19031dfca2f1fe6e5de1b49653dd90b7cb2f5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Minisini?= Date: Mon, 2 Jul 2012 18:18:41 +0000 Subject: [PATCH] [DEVELOPMENT ENVIRONMENT] * BUG: Fix rectangular selection in form editor. git-svn-id: svn://localhost/gambas/trunk@4885 867c0c6c-44f3-4631-809d-bfa615b0a4ec --- app/src/gambas3/.src/Editor/Form/FForm.class | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/gambas3/.src/Editor/Form/FForm.class b/app/src/gambas3/.src/Editor/Form/FForm.class index 3f487375e..dd1c681eb 100644 --- a/app/src/gambas3/.src/Editor/Form/FForm.class +++ b/app/src/gambas3/.src/Editor/Form/FForm.class @@ -1495,7 +1495,7 @@ Private Sub SelectIn(hParent As CControl, X As Integer, Y As Integer, W As Integ For Each hChild In hParent.Control.Children - If Not hCtrl.Tag Or If hCtrl.Ignore Then Continue + If Not hChild.Tag Or If hChild.Ignore Then Continue hCtrl = Control[hChild.Tag] If IsNull(hCtrl) Then Continue 'panel @@ -3614,7 +3614,7 @@ Public Sub panSelect_Draw() Paint.Rectangle(0, 0, Paint.W, Paint.H) Paint.Fill Else - Paint.Brush = Paint.Color(Color.SetAlpha(Color.TextForeground, 232)) + Paint.Brush = Paint.Color(Color.SetAlpha(Color.TextForeground, 208)) 'Paint.Operator = Paint.OperatorXor Paint.Rectangle(0, 0, Paint.W, Paint.H) Paint.Fill