mirror of
https://github.com/odrling/Aegisub
synced 2025-04-11 22:56:02 +02:00
Hide the CPS value if it's over 100
This commit is contained in:
parent
a30d6121fd
commit
f83f8b73a0
@ -286,7 +286,7 @@ public:
|
||||
|
||||
void Paint(wxDC &dc, int x, int y, const AssDialogue *d, const agi::Context *) const {
|
||||
int cps = CPS(d);
|
||||
if (cps < 0) return;
|
||||
if (cps < 0 || cps > 100) return;
|
||||
|
||||
wxString str = std::to_wstring(cps);
|
||||
wxSize ext = dc.GetTextExtent(str);
|
||||
|
Loading…
x
Reference in New Issue
Block a user