#UI_ENHANCEMENT by exept
authorClaus Gittinger <cg@exept.de>
Thu, 30 Jan 2020 09:39:58 +0100
changeset 4435 f564126c2ad9
parent 4434 457b19560f56
child 4436 c4e0e6b71904
#UI_ENHANCEMENT by exept class: ActiveHelp comment/format in: #buttonMotion:x:y:view: changed: #basicHelpTextFor:at:
ActiveHelp.st
--- a/ActiveHelp.st	Tue Jan 28 04:28:34 2020 +0000
+++ b/ActiveHelp.st	Thu Jan 30 09:39:58 2020 +0100
@@ -481,6 +481,7 @@
         ('%1: Motion view:%2' bindWith:self className with:aView) infoPrintCR.
     ].
     "/ Debugging := true
+    "/ Debugging := false
     buttonAndModifierState == 0 ifTrue:[
 "/        realViewUnderCursor := aView device viewFromPoint:(aView pointerPosition).
 "/        realP := aView device translatePoint:(x@y) fromView:aView toView:realViewUnderCursor.
@@ -652,11 +653,11 @@
      #helpTextFor:at: or #helpTextFor: message ends this search and the
      returned string is returned."
 
-    |model app1 app2 text v sv topView domainPointOrNil|
+    |t model app1 app2 text v sv topView domainPointOrNil|
 
-    (aView transformation notNil 
+    ((t := aView transformation) notNil 
     and:[aDevicePointOrNil notNil]) ifTrue:[
-        domainPointOrNil := aView transformation applyInverseTo:aDevicePointOrNil.
+        domainPointOrNil := t applyInverseTo:aDevicePointOrNil.
     ] ifFalse:[
         domainPointOrNil := aDevicePointOrNil.
     ].