Page 1 of 1

gadget:ViewResize issue

Posted: 01 Apr 2009, 03:06
by Beherith
Calling this function during init works fine, but once its called after game start, like on moveing window or losing focus, it fails massively.


function gadget:ViewResize(viewSizeX, viewSizeY)

Instead of returning two numbers, it returns an empty table and a nil value (in x and y)

Is there a solution to this?

(in trepans fog widget btw)

Re: gadget:ViewResize issue

Posted: 01 Apr 2009, 03:33
by Beherith
It seems there is a bug in BA's gadgetHandler:Viewresize function, but the CA folks look like they have fixed it.

Re: gadget:ViewResize issue

Posted: 01 Apr 2009, 09:21
by TheFatController
Will fixify

Re: gadget:ViewResize issue

Posted: 01 Apr 2009, 13:48
by BaNa
You guys have NO IDEA how cash shit is going to be.


(here's a clue: very)

Re: gadget:ViewResize issue

Posted: 01 Apr 2009, 16:43
by TheFatController
what