Skip to content

Commit 3015851

Browse files
committed
25.1.16 Some fix
1 parent cc57d5c commit 3015851

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

Debug/script/sync.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ g_.Notify = {};
6767

6868
AboutTE = function (n) {
6969
if (n == 0) {
70-
return te.Version < 20240616 ? te.Version : 20241223;
70+
return te.Version < 20240616 ? te.Version : 20250116;
7171
}
7272
if (n == 1) {
7373
const v = AboutTE(0);

Debug/script/sync1.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2340,6 +2340,10 @@ te.OnSystemMessage = function (Ctrl, hwnd, msg, wParam, lParam) {
23402340
break;
23412341
case WM_ACTIVATE:
23422342
g_.focused = void 0;
2343+
if (g_.hwndTooltip) {
2344+
api.ShowWindow(g_.hwndTooltip, SW_HIDE);
2345+
g_.hwndTooltip = void 0;
2346+
}
23432347
if (te.Data.bSaveMenus) {
23442348
te.Data.bSaveMenus = false;
23452349
SaveXmlEx("menus.xml", te.Data.xmlMenus);
@@ -3235,6 +3239,12 @@ AddEvent("ReplacePath", function (FolderItem, Path) {
32353239
}
32363240
});
32373241

3242+
AddEvent("ToolTip", function (Ctrl, Index, hwnd) {
3243+
if (Index == WM_PAINT && Ctrl.Type == CTRL_TE) {
3244+
g_.hwndTooltip = hwnd;
3245+
}
3246+
});
3247+
32383248
AddEvent("AddType", function (arFunc) {
32393249
for (let i in g_basic.Func) {
32403250
arFunc.push(i);

0 commit comments

Comments
 (0)