fix: explorer restart does not recreated thumbnail toolbar buttons (#39551)
fix: explorer restart does not recreated thumbnail toolbar buttons.
This commit is contained in:
parent
95bf9d8adb
commit
9937a2bbe8
3 changed files with 14 additions and 0 deletions
|
@ -254,6 +254,10 @@ NativeWindowViews::NativeWindowViews(const gin_helper::Dictionary& options,
|
|||
|
||||
if (title_bar_style_ != TitleBarStyle::kNormal)
|
||||
set_has_frame(false);
|
||||
|
||||
// If the taskbar is re-created after we start up, we have to rebuild all of
|
||||
// our buttons.
|
||||
taskbar_created_message_ = RegisterWindowMessage(TEXT("TaskbarCreated"));
|
||||
#endif
|
||||
|
||||
if (enable_larger_than_screen())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue