-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Zoom und Scrollbars #85
Conversation
TODO:
Currently known issues:
|
...ages/SketchMorph2-Tests.package/MorphicMonetTests.class/instance/testIsWindowColorCorrect.st
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some old issues remain and some new have come into life.
packages/SketchMorph2-Core.package/M2Canvas.class/instance/isControlKeyEvent..st
Outdated
Show resolved
Hide resolved
packages/SketchMorph2-Core.package/M2CheckBoxMenuItem.class/class/valueSelector.st
Outdated
Show resolved
Hide resolved
packages/SketchMorph2-Core.package/M2DrawingContext.class/instance/isInAnyDrawingMode.st
Outdated
Show resolved
Hide resolved
packages/SketchMorph2-Core.package/M2ViewPort.class/instance/formExtent.st
Outdated
Show resolved
Hide resolved
brushSize: anObject | ||
self context brushSize: anObject |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
brushSize: anObject | |
self context brushSize: anObject | |
brushSize: aNumber | |
self context brushSize: aNumber |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We decided not to write the variable type in methods in the delegation category since these methods are only supposed to pass the method call to the context without having knowledge of the type of data they are receiving.
self context currentGeometricForm: anObject |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
currentGeometricForm: anObject | |
self context currentGeometricForm: anObject | |
currentGeometricForm: aSymbol | |
self context currentGeometricForm: aSymbol |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We decided not to write the variable type in methods in the delegation category since these methods are only supposed to pass the method call to the context without having knowledge of the type of data they are receiving.
self context isErasing: anObject |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
isErasing: anObject | |
self context isErasing: anObject | |
isErasing: aBoolean | |
self context isErasing: aBoolean |
self context isFillingGeometricForm: anObject |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
isFillingGeometricForm: anObject | |
self context isFillingGeometricForm: anObject | |
isFillingGeometricForm: aBoolean | |
self context isFillingGeometricForm: aBoolean |
self context mode: anObject |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mode: anObject | |
self context mode: anObject | |
mode: aSymbol | |
self context mode: aSymbol |
packages/SketchMorph2-Core.package/M2ViewPort.class/instance/userActionStopDrawing.st
Outdated
Show resolved
Hide resolved
packages/SketchMorph2-Core.package/MorphicMonet.class/instance/loadCanvas.st
Outdated
Show resolved
Hide resolved
packages/SketchMorph2-Core.package/MorphicMonet.class/instance/minimumExtent.st
Show resolved
Hide resolved
...s/SketchMorph2-Tests.package/M2DrawingComponentTests.class/instance/assertEqualityOf.and..st
Outdated
Show resolved
Hide resolved
packages/SketchMorph2-Tests.package/MorphicMonetTests.class/instance/doDummyAction.st
Outdated
Show resolved
Hide resolved
...s/SketchMorph2-Tests.package/M2DrawingComponentTests.class/instance/assertEqualityOf.and..st
Outdated
Show resolved
Hide resolved
Co-authored-by: Maximilian Franz <maximilian.franz@student.hpi.de>
@@ -1,5 +1,5 @@ | |||
undo | |||
userActionClickAt: aPoint | |||
(self isInTextMode or: [self isInEditingTextMode]) | |||
ifFalse: [self createUserActionWithStart: aPoint]. | |||
self context isInAnyDrawingMode |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is unnecessary since the viewport always checks this condition before calling the method.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated in 9bc3233.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should also apply to similar methods like M2Backend>>userActionStopDrawing
.
Closes #85
Closes #1