The Trunk: Morphic-mt.1167.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Morphic-mt.1167.mcz

commits-2
Marcel Taeumel uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-mt.1167.mcz

==================== Summary ====================

Name: Morphic-mt.1167
Author: mt
Time: 5 June 2016, 1:27:11.378092 pm
UUID: dbeb51b9-bbf3-fa47-b020-b045338dc0d3
Ancestors: Morphic-mt.1166

Fixes bugs in pluggable scroll panes constructed with the tool builder. There were issues with the scroll deltas and resizing hints.

=============== Diff against Morphic-mt.1166 ===============

Item was changed:
  ----- Method: PluggableScrollPane>>morph: (in category 'accessing') -----
  morph: morphToScroll
 
+ morph ifNotNil: [:m | m removeDependent: self].
+
  morphToScroll topLeft: 0@0.
  morph := morphToScroll.
  morphClass := morphToScroll class.
 
+ morph addDependent: self.
+
  self scroller
  removeAllMorphs;
  addMorph: morph.
 
  self updateMorph.!

Item was added:
+ ----- Method: PluggableScrollPane>>update: (in category 'updating') -----
+ update: aspect
+
+ aspect == #submorphs
+ ifTrue: [self updateMorph].
+
+ super update: aspect.!

Item was changed:
  ----- Method: PluggableScrollPane>>updateMorph (in category 'updating') -----
  updateMorph
 
  self morph fullBounds.
+ self setScrollDeltas.!
- self setScrollDeltas.
-
- scrollBar setValue: 0.0.
- hScrollBar setValue: 0.0.!