How do i detect object being resized ?

For developers using the Construct 2 Javascript SDK

Post » Sat Feb 21, 2015 11:14 pm

How do i detect object being resized in runtime ?

instanceProto.onresize() ?
B
31
S
10
G
2
Posts: 310
Reputation: 5,446

Post » Sun Feb 22, 2015 1:08 am

@stctr

I would detect resize under tick() function (or tick2()).
https://github.com/rexrainbow/C2_plugin ... ime.js#L80
B
99
S
22
G
192
Posts: 4,177
Reputation: 111,217

Post » Sun Feb 22, 2015 1:29 am

rexrainbow wrote:@stctr

I would detect resize under tick() function (or tick2()).
https://github.com/rexrainbow/C2_plugin ... ime.js#L80


:D Thank you very much, this is the solution.
B
31
S
10
G
2
Posts: 310
Reputation: 5,446


Return to Javascript SDK

Who is online

Users browsing this forum: No registered users and 0 guests