Skip to content

Commit 8cf8ea9

Browse files
committed
add comment to PyramidPositionExtension in installOn about do not going under 0.101 for the scaleFactor
1 parent ce265d2 commit 8cf8ea9

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/Pyramid-Bloc/PyramidPositionExtension.class.st

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ PyramidPositionExtension >> installOn: aBuilder [
3838
self elementAtEvents addEventHandler: (BlEventHandler
3939
on: BlMouseMoveEvent
4040
do: [ :evt |
41+
"if the value is under 0.101 an display problem occured and the blue border of the workplace visually disapear"
4142
self scaleFactor <= 0.1 ifTrue: [ self scaleFactor: 0.10000000000000003 ].
4243
position := (evt position - self currentTransformTranslation / self scaleFactor) rounded.
4344
self display text: self position asRopedText ]).

0 commit comments

Comments
 (0)