forked from mbk-lab/rui_orig
Bug fixing
This commit is contained in:
parent
690d169bdf
commit
0286918dd4
11
radius.go
11
radius.go
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue