1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-24 17:28:08 +00:00

Fix error during rotation

Fix https://github.com/GNS3/gns3-gui/issues/1474
This commit is contained in:
Julien Duponchelle 2016-09-06 14:54:13 +02:00
parent bc5b5969eb
commit 0bbda4a5d7
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8
2 changed files with 4 additions and 2 deletions

View File

@ -50,7 +50,7 @@ DRAWING_OBJECT_SCHEMA = {
"rotation": {
"description": "Rotation of the element",
"type": "integer",
"minimum": 0,
"minimum": -359,
"maximum": 360
},
"svg": {

View File

@ -33,7 +33,9 @@ LABEL_OBJECT_SCHEMA = {
},
"rotation": {
"description": "Rotation of the label",
"type": "integer"
"type": "integer",
"minimum": -359,
"maximum": 360
},
},
"required": [