fix: only invalidate buffers for chat windows (#5666)

This commit is contained in:
nerix
2024-10-21 00:57:37 +02:00
committed by GitHub
parent e35fabfabe
commit 867e3f3ab0
6 changed files with 23 additions and 9 deletions
+3 -1
View File
@@ -52,7 +52,9 @@
namespace chatterino {
Window::Window(WindowType type, QWidget *parent)
: BaseWindow(BaseWindow::EnableCustomFrame, parent)
: BaseWindow(
{BaseWindow::EnableCustomFrame, BaseWindow::ClearBuffersOnDpiChange},
parent)
, type_(type)
, notebook_(new SplitNotebook(this))
{