Fix resize call for horizontal inactive field
This commit is contained in:
parent
7cd370e8ef
commit
4acde58d5c
@ -59,7 +59,7 @@ function Progress:_updateProgress()
|
|||||||
width = round(self:getProgress() * width),
|
width = round(self:getProgress() * width),
|
||||||
height = height
|
height = height
|
||||||
}
|
}
|
||||||
self.active:resize{
|
self.inactive:resize{
|
||||||
width = round((1 - self:getProgress()) * width, true),
|
width = round((1 - self:getProgress()) * width, true),
|
||||||
height = height
|
height = height
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user