For all cases outside of Kaleidoscope itself, we are good with the value of `highestLayer`, and do not need to re-scan the layer state. For this reason - upon @obra's suggestion - rename `Layer.highest()` to `Layer.top()`, and the old `Layer.top()` to `Layer.updateHighestLayer()`, and make the latter private, and update the `highestLayer` member variable instead of returning the number. Signed-off-by: Gergely Nagy <kaleidoscope@gergo.csillger.hu>pull/181/head
parent
a54dd140e1
commit
53a1a2e361
Loading…
Reference in new issue