Mercurial > hg > sonic-visualiser
comparison main/MainWindow.cpp @ 109:e6c4b27cba2c
* Rejig handling of scrolling views. Ensures, among other things, that playing
when there is a scroll mode view present (e.g. a spectrum) does not drag
any page mode views into scroll mode with it.
| author | Chris Cannam |
|---|---|
| date | Thu, 01 Mar 2007 11:55:46 +0000 |
| parents | 58f21cf235c7 |
| children | d25ea0c2af5c |
comparison
equal
deleted
inserted
replaced
| 108:58f21cf235c7 | 109:e6c4b27cba2c |
|---|---|
| 3221 CommandHistory::getInstance()->addCommand(command); | 3221 CommandHistory::getInstance()->addCommand(command); |
| 3222 | 3222 |
| 3223 Pane *pane = command->getPane(); | 3223 Pane *pane = command->getPane(); |
| 3224 | 3224 |
| 3225 if (configuration.layer == LayerFactory::Spectrum) { | 3225 if (configuration.layer == LayerFactory::Spectrum) { |
| 3226 pane->setPlaybackFollow(View::PlaybackScrollContinuous); | 3226 pane->setPlaybackFollow(PlaybackScrollContinuous); |
| 3227 } | 3227 } |
| 3228 | 3228 |
| 3229 if (configuration.layer != LayerFactory::TimeRuler && | 3229 if (configuration.layer != LayerFactory::TimeRuler && |
| 3230 configuration.layer != LayerFactory::Spectrum) { | 3230 configuration.layer != LayerFactory::Spectrum) { |
| 3231 | 3231 |
