2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Beta 10008004: games / webpages work fine if media autoload disabled.

Also moved alot of file icons from sprite to separate b&w files.
This commit is contained in:
John Preston
2016-09-29 22:42:14 +03:00
parent 1247bd19b6
commit a5eee9bd3e
28 changed files with 249 additions and 170 deletions

View File

@@ -529,7 +529,7 @@ private:
};
_PsShadowWindows _psShadowWindows;
QColor _shActive(0, 0, 0), _shInactive(0, 0, 0);
QColor _shActive(0, 0, 0)/*, _shInactive(0, 0, 0)*/;
LRESULT CALLBACK _PsShadowWindows::wndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) {
auto wnd = App::wnd();
@@ -633,12 +633,12 @@ void MainWindow::shadowsUpdate(ShadowsChanges changes, WINDOWPOS *position) {
}
void MainWindow::shadowsActivate() {
_psShadowWindows.setColor(_shActive);
// _psShadowWindows.setColor(_shActive);
shadowsUpdate(ShadowsChange::Activate);
}
void MainWindow::shadowsDeactivate() {
_psShadowWindows.setColor(_shInactive);
// _psShadowWindows.setColor(_shInactive);
}
void MainWindow::psShowTrayMenu() {