fixed animns in zapcockpit
This commit is contained in:
parent
2378bc8c4e
commit
f6c11ce9ea
|
@ -372,7 +372,7 @@ void cViewChannel::SetChannelHint(const cChannel *channel) {
|
|||
void cViewChannel::Close(void) {
|
||||
bool doAnim = true;
|
||||
#ifdef USE_ZAPCOCKPIT
|
||||
if (viewType != dcDefault)
|
||||
if (viewType != dcDefault || viewTypeLast != dcDefault)
|
||||
doAnim = false;
|
||||
#endif
|
||||
if (doAnim) {
|
||||
|
|
Loading…
Reference in New Issue