forked from organicmaps/organicmaps
[map] allow forced always-on-top for highest priorities
This commit is contained in:
parent
0335273c7c
commit
6e857a6fa7
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ namespace di
|
|||
{
|
||||
double depth = keys[i].m_priority;
|
||||
|
||||
if (layer != 0)
|
||||
if ((layer != 0) && (depth < 19000))
|
||||
depth = (layer * drule::layer_base_priority) + fmod(depth, drule::layer_base_priority);
|
||||
|
||||
if (keys[i].m_type == drule::symbol)
|
||||
|
|
Loading…
Add table
Reference in a new issue