edje_cc: limit map.zoom to non-negative values

@fix
This commit is contained in:
Andrii Kroitor 2017-10-30 13:51:17 +02:00
parent a7769e806a
commit 939d16bdbf
1 changed files with 2 additions and 2 deletions

View File

@ -14226,7 +14226,7 @@ st_collections_group_parts_part_description_map_zoom_x(void)
{
check_arg_count(1);
current_desc->map.zoom.x = FROM_DOUBLE(parse_float(0));
current_desc->map.zoom.x = FROM_DOUBLE(parse_float_range(0, 0.0, 999999999.0));
}
/**
@ -14246,7 +14246,7 @@ st_collections_group_parts_part_description_map_zoom_y(void)
{
check_arg_count(1);
current_desc->map.zoom.y = FROM_DOUBLE(parse_float(0));
current_desc->map.zoom.y = FROM_DOUBLE(parse_float_range(0, 0.0, 999999999.0));
}
/** @edcsubsection{collections_group_parts_description_map_rotation,