Bug fixing

This commit is contained in:
Alexei Anoshenko 2022-05-06 18:19:13 +03:00
parent 690d169bdf
commit 0286918dd4
1 changed files with 11 additions and 0 deletions

View File

@ -331,6 +331,17 @@ func (radius *radiusPropertyData) Get(tag string) interface{} {
}
}
switch tag {
case TopLeftX, TopRightX, BottomLeftX, BottomRightX:
if value, ok := radius.properties[X]; ok {
return value
}
case TopLeftY, TopRightY, BottomLeftY, BottomRightY:
if value, ok := radius.properties[Y]; ok {
return value
}
}
return nil
}