PushDialog messes up my camera zoom?
by Jacob Wagner · in Torque Game Builder · 10/15/2006 (5:25 am) · 0 replies
I zoom the camera in and out with the mousewheel using the sceneWindow2D.setCurrentCameraZoom()
function.
It was working fine but when I try to add a gui with Canvas.pushDialog(EndTurn) the mousewheel no longer
zooms the camera in and out.
Obviously I don't understand how this works, or what I need to do, can anybody help? thanks.
Update: I tried adding modal = false; to the guibuttonctrl and the guicontrol but neither helped me.
function.
It was working fine but when I try to add a gui with Canvas.pushDialog(EndTurn) the mousewheel no longer
zooms the camera in and out.
Obviously I don't understand how this works, or what I need to do, can anybody help? thanks.
Update: I tried adding modal = false; to the guibuttonctrl and the guicontrol but neither helped me.