Pages: 1
Posted on 07-11-11, 03:20 pm (rev. 1)
Roy Koopa


Karma: 4011
Posts: 152/2722
Since: 06-26-11
When i select multiple Objects/Sprites, I can't delete them anymore with the delete key. You have to click on a empty space first
_________________________
See a lots of creative DS Hacking here
If you want to support me, you might check out my Patreon Page : )
Posted on 07-11-11, 04:05 pm
Fuzzy
Full mod

Karma: 1183
Posts: 30/785
Since: 06-28-11
I think its a problem with the editor control not having focus sometimes. I'm not sure what's causing it though, because it doesn't happen all of the time.
Posted on 07-11-11, 04:17 pm
Roy Koopa


Karma: 4011
Posts: 153/2722
Since: 06-26-11
Hmm.... okay^^
_________________________
See a lots of creative DS Hacking here
If you want to support me, you might check out my Patreon Page : )
Posted on 07-11-11, 06:23 pm
Super Mario
( ͡° ͜ʖ ͡°)

Karma: 10010
Posts: 269/4457
Since: 06-08-11
Yeah, that happens when some of the controls of the left panel have focus instead of the editor window.
Before, it was happening ALL the time, where the minimap kept the focus and shortcuts didn't work at all...

Why a minimap, which is just an image box, CAN have the focus is a complete mistery to me.
I fixed it making the minimap also receive the key presses and pass them to the editor control.

Now the problem remains with the controls on the left. I can't do the same because sometimes you might want to copy/paste/delete something in these input boxes, so I have no idea on how to fix this shit.

Posted on 07-11-11, 06:45 pm
Fuzzy
Full mod

Karma: 1183
Posts: 36/785
Since: 06-28-11
We could make it so the editor control receives focus whenever it is clicked.
Posted on 07-11-11, 06:52 pm
Super Mario
( ͡° ͜ʖ ͡°)

Karma: 10010
Posts: 272/4457
Since: 06-08-11
Yeah, but HOW?
What controls whether something gets focus on click?
Posted on 07-11-11, 07:04 pm
Fuzzy
Full mod

Karma: 1183
Posts: 37/785
Since: 06-28-11
You could put this.Focus() in the mousedown event.
Posted on 07-11-11, 07:11 pm
Super Mario
( ͡° ͜ʖ ͡°)

Karma: 10010
Posts: 273/4457
Since: 06-08-11
Hmm, can YOU try it and see if it works?
I'm on Linux coding Mini-Mario now.
Posted on 07-11-11, 07:36 pm
Fuzzy
Full mod

Karma: 1183
Posts: 38/785
Since: 06-28-11
I think that fixed the problem. Committed.
Posted on 07-12-11, 07:49 am
Super Mario
( ͡° ͜ʖ ͡°)

Karma: 10010
Posts: 279/4457
Since: 06-08-11
Changing this to Fixed status.
Pages: 1