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,486

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
107
S
25
G
230
Posts: 4,358
Reputation: 130,906

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,486


Return to Javascript SDK

Who is online

Users browsing this forum: No registered users and 1 guest