mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-02 20:29:17 +00:00
fixed the markup of non-transparent SVG
This commit is contained in:
parent
2a45e1340c
commit
be84ecb7df
@ -167,7 +167,7 @@ namespace svg {
|
||||
|
||||
println(f, "<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"", coord(vid.xres), "\" height=\"", coord(vid.yres), "\">");
|
||||
if(!shot::transparent)
|
||||
println(f, "<rect width=\"", coord(vid.xres), "\" height=\"", coord(vid.yres), "\" ", stylestr((backcolor << 8) | 0xFF, 0, 0));
|
||||
println(f, "<rect width=\"", coord(vid.xres), "\" height=\"", coord(vid.yres), "\" ", stylestr((backcolor << 8) | 0xFF, 0, 0), "/>");
|
||||
what();
|
||||
println(f, "</svg>");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user