mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
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:
parent
ab07b0205f
commit
ae89ef37c0
4 changed files with 44 additions and 6 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue