mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Revert part of c053a9394d
This change introduced a regression and is not needed anymore. (cherry picked from commit 1cbabdf8d51b26dd80677ddfeb64d13df91fefc0)
This commit is contained in:
parent
9384ed0f08
commit
21e4e939be
@ -460,10 +460,6 @@ void Loader::Impl::createPixmap()
|
||||
if (idx != string::npos && idx > 3) {
|
||||
if (filename.substr(idx - 3, 3) == "@2x") {
|
||||
params_.pixel_ratio = 2.0;
|
||||
} else if (cached_item_->filename().extension() == "svgz") {
|
||||
params_.pixel_ratio = 4.0;
|
||||
} else if (cached_item_->filename().extension() == "svg") {
|
||||
params_.pixel_ratio = 4.0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user