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

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
105
S
25
G
217
Posts: 4,297
Reputation: 124,148

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


Return to Javascript SDK

Who is online

Users browsing this forum: No registered users and 0 guests