[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Outliner in scrollMorph



When you embed an outliner in an scrollMorph,

1) there is a lot of visual output not clipped
2) when the embedded outliner is scrolled down 
	the mouse events are handled according to the original coordinates
	instead of the shifted ones.
	I tried to fix that in traits scrollMorph with a modified version of:

dispatchEvent: evt At: globalPt = ( 
  dropEvent: evt OnSubmorphsAt: globalPt + (x_off @ y_off) ifHandled: [^self ].
  dropEvent: evt OnBaseAt: globalPt)

	where the adding of (x_off@y_off) to 'globalPt' is the only modification
	to the original in traits morph. 
	But it didn't work.

Michael