WurstStdlib2 icon indicating copy to clipboard operation
WurstStdlib2 copied to clipboard

EventListener for 1.26

Open voix2ciel opened this issue 6 years ago • 3 comments
trafficstars

When try to use EventListener package, warcraft just doesnt load a map, drop in main menu. Now i'm using RegisterEvents, but in some cases EventListener would be more convenient. Can u make this package work for 1.26 wc version?

voix2ciel avatar Feb 23 '19 21:02 voix2ciel

Sure, you just have to backport ClosureEvents into the Pre 1.29 branch and then checkout that manually as your dependency. It probably doesn't need much to work, but I can't test it myself. If you have time, join the chat at EU times and we can try getting it to run together.

Frotty avatar Feb 23 '19 23:02 Frotty

Ok. It's just because Mouse events. http://prntscr.com/mpcmpp I've not found ClosureEvents package in pre 1.29 branch. Think, I'll just comment this lines everytime i update stdlib.

voix2ciel avatar Feb 24 '19 09:02 voix2ciel

As I said, ClosureEvents would have to be backported into that branch.

Frotty avatar Feb 24 '19 10:02 Frotty