mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
Removed the strange behaviour of the label size when printing a resized map
This commit is contained in:
parent
df295dca48
commit
adc2ab3b31
@ -2055,14 +2055,6 @@ function visual_map_print_visual_map ($id_layout, $show_links = true,
|
||||
|
||||
|
||||
foreach ($layout_datas as $layout_data) {
|
||||
|
||||
if ($resizedMap) {
|
||||
//Hack to resize the text
|
||||
$layout_data["label"] = str_replace(
|
||||
'visual_font_size', 'resize_visual_font_size',
|
||||
$layout_data["label"]);
|
||||
}
|
||||
|
||||
//Check the items are from disabled or pending delete modules
|
||||
if ($layout_data['id_agente_modulo'] != 0 &&
|
||||
(($layout_data['type'] != LABEL)
|
||||
|
Loading…
x
Reference in New Issue
Block a user