View Issue Details

IDProjectCategoryView StatusLast Update
0004297Spring engineGeneralpublic2014-01-30 17:51
ReporterJools Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version96.0.1+git 
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

Activities

There are no notes attached to this issue.

Issue History

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