1
1
Fork 0
mirror of https://github.com/FellippeHeitor/InForm.git synced 2025-01-15 03:49:56 +00:00

Simplifies checking for SelectionRectangle

Avoids having the editor lose focus inadvertently.
This commit is contained in:
Fellippe Heitor 2020-08-02 02:57:46 -03:00 committed by GitHub
parent baa40dc3d2
commit 4391f4b15c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -191,8 +191,8 @@ SUB __UI_BeforeUpdateDisplay
SendData b$, "MENUPANELACTIVE"
END IF
IF prevSelectionRectangle <> (__UI_SelectionRectangle OR __UI_CtrlIsDown OR __UI_ShiftIsDown) THEN
prevSelectionRectangle = (__UI_SelectionRectangle OR __UI_CtrlIsDown OR __UI_ShiftIsDown)
IF prevSelectionRectangle <> (__UI_SelectionRectangle) THEN
prevSelectionRectangle = (__UI_SelectionRectangle)
b$ = MKI$(prevSelectionRectangle)
SendData b$, "SELECTIONRECTANGLE"
END IF