mirror of
https://github.com/kvazar-network/webapp.git
synced 2025-03-12 05:31:09 +00:00
fix dimensions pass
This commit is contained in:
parent
8b150af09e
commit
2e892c5165
@ -83,12 +83,12 @@ final class Icon {
|
|||||||
|
|
||||||
imagearc($resized, $radius-1, $radius-1, $radius*2, $radius*2, 180, 270, $bg);
|
imagearc($resized, $radius-1, $radius-1, $radius*2, $radius*2, 180, 270, $bg);
|
||||||
imagefilltoborder($resized, 0, 0, $bg, $bg);
|
imagefilltoborder($resized, 0, 0, $bg, $bg);
|
||||||
imagearc($resized, $width-$radius, $radius-1, $radius*2, $radius*2, 270, 0, $bg);
|
imagearc($resized, $this->_width-$radius, $radius-1, $radius*2, $radius*2, 270, 0, $bg);
|
||||||
imagefilltoborder($resized, $width-1, 0, $bg, $bg);
|
imagefilltoborder($resized, $this->_width-1, 0, $bg, $bg);
|
||||||
imagearc($resized, $radius-1, $height-$radius, $radius*2, $radius*2, 90, 180, $bg);
|
imagearc($resized, $radius-1, $this->_height-$radius, $radius*2, $radius*2, 90, 180, $bg);
|
||||||
imagefilltoborder($resized, 0, $height-1, $bg, $bg);
|
imagefilltoborder($resized, 0, $this->_height-1, $bg, $bg);
|
||||||
imagearc($resized, $width-$radius, $height-$radius, $radius*2, $radius*2, 0, 90, $bg);
|
imagearc($resized, $this->_width-$radius, $this->_height-$radius, $radius*2, $radius*2, 0, 90, $bg);
|
||||||
imagefilltoborder($resized, $width-1, $height-1, $bg, $bg);
|
imagefilltoborder($resized, $this->_width-1, $this->_height-1, $bg, $bg);
|
||||||
|
|
||||||
imagecolortransparent($resized, $bg);
|
imagecolortransparent($resized, $bg);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user