mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-25 16:06:31 +00:00
Add manual fixup of <img> tags in richtext labels, to set to @2x version
This commit is contained in:
@@ -65,6 +65,9 @@ void CaptureDialog::initWarning(RDLabel *warning)
|
||||
if(!warning)
|
||||
return;
|
||||
|
||||
if(warning->devicePixelRatio() >= 2)
|
||||
warning->setText(warning->text().replace(lit(".png"), lit("@2x.png")));
|
||||
|
||||
QPalette pal = warning->palette();
|
||||
|
||||
QColor base = pal.color(QPalette::ToolTipBase);
|
||||
|
||||
Reference in New Issue
Block a user