Help: reduced threshold for 2x XBRZ scaling of sprites in help pages
[ci_skip] It doesn't make any sense to disable this if the window size is bigger than the help window size.
This commit is contained in:
parent
7488d6094c
commit
a976d05c9b
1 changed files with 2 additions and 2 deletions
|
@ -246,14 +246,14 @@ std::string unit_topic_generator::operator()() const {
|
|||
|
||||
ss << "<img>src='" << male_type.image();
|
||||
ss << "~RC(" << male_type.flag_rgb() << ">red)";
|
||||
if (screen_width >= 1600) ss << "~XBRZ(2)";
|
||||
if (screen_width >= 1200) ss << "~XBRZ(2)";
|
||||
ss << "' box='no'</img> ";
|
||||
|
||||
|
||||
if (&female_type != &male_type) {
|
||||
ss << "<img>src='" << female_type.image();
|
||||
ss << "~RC(" << female_type.flag_rgb() << ">red)";
|
||||
if (screen_width >= 1600) ss << "~XBRZ(2)";
|
||||
if (screen_width >= 1200) ss << "~XBRZ(2)";
|
||||
ss << "' box='no'</img> ";
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue