# HG changeset patch # User rubidium # Date 1185656431 0 # Node ID e47de0a0c7dceb917673efdd2aded39b3e5645b7 # Parent eafce07e8f96255ac04301b3dffbe0a29e48edc9 (svn r10717) -Fix: in-game console had a "transparent" part when opened in a game, while it did not in the menu. diff -r eafce07e8f96 -r e47de0a0c7dc src/window.cpp --- a/src/window.cpp Sat Jul 28 20:59:30 2007 +0000 +++ b/src/window.cpp Sat Jul 28 21:00:31 2007 +0000 @@ -690,7 +690,7 @@ } const Window *wt = FindWindowById(WC_MAIN_TOOLBAR, 0); - w->top = max(w->top, (wt == NULL || w == wt) ? 0 : wt->height); + w->top = max(w->top, (wt == NULL || w == wt || y == 0) ? 0 : wt->height); w->left = max(w->left, 0); SetWindowDirty(w);