Enlarge the zone where you can use scrolling to look trough the layer mode.

Also make it more visible

fixes #118
This commit is contained in:
Tamara Hogenhout 2015-07-09 16:27:31 +02:00
parent ab07b0205f
commit ae89ef37c0
4 changed files with 44 additions and 6 deletions

View file

@ -146,9 +146,11 @@ class LayerView(View):
self._current_layer_num = self._max_layers
# This makes sure we update the current layer
self.setLayer(int(self._max_layers * (self._current_layer_num / self._old_max_layers)))
self.setLayer(int(self._max_layers))
self.currentLayerNumChanged.emit()
maxLayersChanged = Signal()
currentLayerNumChanged = Signal()
## Hackish way to ensure the proxy is already created, which ensures that the layerview.qml is already created
# as this caused some issues.