mirror of
https://github.com/hargata/lubelog.git
synced 2025-12-10 00:46:08 -06:00
use culture invariant when converting opacity to string.
This commit is contained in:
parent
31690bc8df
commit
e9eb86ae3f
@ -1,4 +1,5 @@
|
|||||||
@using CarCareTracker.Helper
|
@using CarCareTracker.Helper
|
||||||
|
@using System.Globalization
|
||||||
@inject IConfigHelper config
|
@inject IConfigHelper config
|
||||||
@inject ITranslationHelper translator
|
@inject ITranslationHelper translator
|
||||||
@{
|
@{
|
||||||
@ -22,7 +23,7 @@
|
|||||||
@foreach(ImageMap imageMap in Model.Map)
|
@foreach(ImageMap imageMap in Model.Map)
|
||||||
{
|
{
|
||||||
<a style='cursor:pointer;' onclick='loadRecordsByTags("@imageMap.Tags")'>
|
<a style='cursor:pointer;' onclick='loadRecordsByTags("@imageMap.Tags")'>
|
||||||
<polygon points="@imageMap.Coordinates" fill="@imageMap.Color" opacity="@imageMap.Opacity"></polygon>
|
<polygon points="@imageMap.Coordinates" fill="@imageMap.Color" opacity="@imageMap.Opacity.ToString(CultureInfo.InvariantCulture)"></polygon>
|
||||||
</a>
|
</a>
|
||||||
}
|
}
|
||||||
</svg>
|
</svg>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user