mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-12 13:00:32 +00:00
Reset zoom level to 100% when resetting texture viewer
* Prevents weird behaviour if the zoom gets set to 0
This commit is contained in:
@@ -2544,10 +2544,11 @@ void TextureViewer::Reset()
|
||||
|
||||
ui->statusText->setText(QString());
|
||||
ui->renderContainer->setWindowTitle(tr("Current"));
|
||||
ui->zoomOption->setCurrentText(QString());
|
||||
ui->mipLevel->clear();
|
||||
ui->sliceFace->clear();
|
||||
|
||||
UI_SetScale(1.0f);
|
||||
|
||||
ui->channels->setCurrentIndex(0);
|
||||
ui->overlay->setCurrentIndex(0);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user