mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-21 05:43:37 +00:00
[styles] Convert remaining PNG icons to SVG
Signed-off-by: David Martinez <47610359+dvdmrtnz@users.noreply.github.com>
This commit is contained in:
committed by
Konstantin Pastbin
parent
eeb53eb0c4
commit
cb2181a80e
@@ -92,7 +92,7 @@ drape_ptr<ShapeRenderer> Compass::Draw(ref_ptr<dp::GraphicsContext> context, ref
|
||||
TTapHandler const & tapHandler) const
|
||||
{
|
||||
dp::TextureManager::SymbolRegion region;
|
||||
tex->GetSymbolRegion("compass-image", region);
|
||||
tex->GetSymbolRegion("compass", region);
|
||||
auto const halfSize = glsl::ToVec2(region.GetPixelSize() * 0.5f);
|
||||
auto const texRect = region.GetTexRect();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user