Macro edition interface title theming+functionality. #7

The migration of the macro theming will come after.
This commit is contained in:
Arpad Csanyi
2016-03-14 09:37:38 +01:00
parent 68d566e233
commit 1797b50847
3 changed files with 13 additions and 3 deletions

6
app.js
View File

@@ -7,9 +7,13 @@ $(function() {
// ========================
// Keymap related settings.
// ========================
$('.keymap__name, .keymap__abbrev').on('mouseover', function() {
$('.keymap__name, .keymap__abbrev, .macro__name').on('mouseover', function() {
$(this).addClass('active');
}).on('mouseout', function() {
if (!$(this).is(':focus')) {
$(this).removeClass('active');
}
}).on('focusout', function() {
$(this).removeClass('active');
});