[squeak-dev] The Inbox: Morphic-ct.1709.mcz

commits at source.squeak.org commits at source.squeak.org
Wed Oct 28 20:19:59 UTC 2020


A new version of Morphic was added to project The Inbox:
http://source.squeak.org/inbox/Morphic-ct.1709.mcz

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

Name: Morphic-ct.1709
Author: ct
Time: 28 October 2020, 9:19:49.476652 pm
UUID: 14a43f24-c7eb-1f4d-9928-48a4e9231bac
Ancestors: Morphic-mt.1708

Make sure an obsolete progress bar does not remain on the screen after the operation has completed.

Example:
	(1 to: 3) do: [:i | 1 second wait] displayingProgress: 'I should be visible for no longer than 3 seconds'. 2 seconds wait.

=============== Diff against Morphic-mt.1708 ===============

Item was changed:
  ----- Method: SystemProgressMorph>>freeSlot: (in category 'private') -----
  freeSlot: number
+ 
  	number > 0 ifFalse: [^self].
  	lock critical: [| label |
  		label := self labels at: number.
  		(label isNil or: [label owner isNil]) ifTrue: [^self]. "Has been freed before"
  		label delete.
  		(self bars at: number) delete.
  		self activeSlots: self activeSlots - 1.
  		self activeSlots = 0
  			ifTrue: [self delete]
+ 			ifFalse: [self reposition]].
+ 	self currentWorld displayWorld.!
- 			ifFalse: [self reposition]]!



More information about the Squeak-dev mailing list