Fix tutorial bug

This commit is contained in:
vczh
2021-10-12 13:43:55 -07:00
parent 81ce019fe9
commit 9d0f0a1c88
2 changed files with 2 additions and 4 deletions

View File

@@ -9398,8 +9398,8 @@ WindowsForm
if (hAppIcon == NULL) hAppIcon = (HICON)LoadImage(NULL, IDI_APPLICATION, IMAGE_ICON, 0, 0, LR_DEFAULTSIZE | LR_SHARED);
bool isVisible = IsVisible();
if (isVisible) SendMessage(handle, WM_SETREDRAW, (WPARAM)FALSE, NULL);
SendMessage(handle, WM_SETICON, ICON_BIG, (LPARAM)newReplacementHIcon);
SendMessage(handle, WM_SETICON, ICON_SMALL, (LPARAM)newReplacementHIcon);
SendMessage(handle, WM_SETICON, ICON_BIG, (LPARAM)hAppIcon);
SendMessage(handle, WM_SETICON, ICON_SMALL, (LPARAM)hAppIcon);
if (isVisible) SendMessage(handle, WM_SETREDRAW, (WPARAM)TRUE, NULL);
if (this == GetCurrentController()->WindowService()->GetMainWindow())

View File

@@ -6,8 +6,6 @@ https://zhuanlan.zhihu.com/p/39369370
### Bugs
- **Windows**
- **WindowIcon**: Check and uncheck custom icon, the icon in the task bar doesn't come back.
- **Controls**
- **DocumentEditor**: When a document's height is smaller than the control, the lower part cannot click to interact with the last line.
- **DocumentEditor**: In default font, the lower part of "g" in the last line is clipped, not rendered properly.