fix Pane focus lost in KFM2

git-svn-id: svn://kolibrios.org@8882 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Kirill Lipatov (Leency) 2021-06-19 20:46:12 +00:00
parent b995e57c1e
commit 7355a5f3f5

View File

@ -333,7 +333,7 @@ void main()
break; break;
} }
if (efm) && (mouse.y > files.y) && (mouse.down) { if (efm) && (mouse.y > files.y) && (mouse.y < files.y + files.h) && (mouse.down) {
if (mouse.x<Form.cwidth/2) { if (mouse.x<Form.cwidth/2) {
if (active_panel!=1) ChangeActivePanel(); if (active_panel!=1) ChangeActivePanel();
} else { } else {