Floating live window z order fix
Brought to you by:
adecaro
Hello,
We are using my doggy for our project, to display tools, each tool in a floating window, We noticed strange behavior for setActive method (previously active tool always went at the back) which looked like random and very annoying behavior. We tracked the bug down in FloatingLiveWindow, where active event is handled. Namely, instead of setting the tool on layer DEFAULT + 4, or DEFAULT + 3 (on inactive), we just call layeredPane.moveToFront when tool becomes active (and nothing when tool becomes inactive). Like this tool order is now ok. Thank you for my doggy framework, it is very useful for us!