add 'r'epeat option sans the HUD (to not complicate the profile)
Change-Id: Ia95f2b2b86c83b1715dc46b07baa2fc547abdee3 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/229081 Reviewed-by: Mike Reed <reed@google.com> Commit-Queue: Mike Reed <reed@google.com> Auto-Submit: Mike Reed <reed@google.com>
This commit is contained in:
parent
fae63e477c
commit
f702ed495e
@ -349,6 +349,10 @@ Viewer::Viewer(int argc, char** argv, void* platformData)
|
||||
this->updateTitle();
|
||||
fWindow->inval();
|
||||
});
|
||||
fCommands.addCommand('r', "Redraw", "Toggle redraw", [this]() {
|
||||
fRefresh = !fRefresh;
|
||||
fWindow->inval();
|
||||
});
|
||||
fCommands.addCommand('s', "Overlays", "Toggle stats display", [this]() {
|
||||
fStatsLayer.setActive(!fStatsLayer.getActive());
|
||||
fWindow->inval();
|
||||
|
Loading…
Reference in New Issue
Block a user