[MIRROR] Makes GAGS menu display time spent even without full preview [MDB IGNORE] (#14157)

* Makes GAGS menu display time spent even without full preview (#67119)

About The Pull Request

Simply lets you see how much time was spent on generating a sprite as long as you're in the debug version of the menu instead of only if you have full preview enabled.

* Makes GAGS menu display time spent even without full preview

Co-authored-by: Emmett Gaines <ninjanomnom@gmail.com>
This commit is contained in:
SkyratBot
2022-06-07 14:39:22 +01:00
committed by GitHub
co-authored by Emmett Gaines
parent 4fc362d444
commit 80134ccfe6
@@ -221,7 +221,7 @@ const PreviewDisplay = (props, context) => {
</Table.Row>
</Table>
{
!!data.generate_full_preview
!!data.unlocked
&& `Time Spent: ${data.sprites.time_spent}ms`
}
<Divider />