2025-07-20 19:08 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0004297Spring engineGeneralpublic2014-01-30 17:51
ReporterJools 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusnewResolutionopen 
Product Version96.0.1+git 
Target VersionFixed in Version 
Summary0004297: TweakIsAbove callin not reached
DescriptionThe callin named TweakIsAbove does not get called, for handling where mouse is in Tweak Mode.
Steps To ReproduceTested with XTA and BA with spring 96.0 and spring 96-218. Here is a widget to test that tweakmode callin:

local Echo = Spring.Echo

function widget:TweakIsAbove(x,y)
  Echo("TweakIsAbove:",x,y)
end
Additional Informationhttps://github.com/spring/spring/blob/96.0/cont/LuaUI/widgets.lua#L1367

The callin on line 1367 doesn't get reached at all in tweakmode. I tried by putting an Echo in line 1368. It gets called in normal mode but not in tweakmode.

A related issue: function widget:TweakDrawScreen() gets called if and only if there is also a function called "function widget:DrawScreen()" in the widget.
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes
There are no notes attached to this issue.
+Notes

-Issue History
Date Modified Username Field Change
2014-01-30 17:51 Jools New Issue
+Issue History