Permalink
Browse files

explore loading cursors

  • Loading branch information...
Manuel-777 committed Jan 7, 2019
1 parent 6b0eff1 commit de519a9fa5eaa4a839f4b8c74a4a210ec6c75010
Showing with 5 additions and 0 deletions.
  1. +4 −0 window_main/renderer.js
  2. +1 −0 window_main/tournaments.js
@@ -393,6 +393,7 @@ ipc.on('set_status', function (event, arg) {

//
ipc.on('set_tou_list', function (event, arg) {
document.body.style.cursor = "auto";
if (sidebarActive == -1) {
open_tournaments_tab(arg);
}
@@ -740,6 +741,7 @@ $(document).ready(function() {
$("#ux_0").off();
$("#history_column").off();
change_background("default");
document.body.style.cursor = "auto";
if (!$(this).hasClass("item_selected")) {
$('.moving_ux').animate({'left': '0px'}, 250, 'easeInOutCubic');

@@ -757,6 +759,7 @@ $(document).ready(function() {
open_tournaments_tab(null, true);
}
else {
document.body.style.cursor = "progress";
ipc_send('request_tou_list', true);
}
}
@@ -1175,6 +1178,7 @@ $('.'+_match.id+'t').css('width', '128px');

//
ipc.on('tou_set', function (event, arg) {
document.body.style.cursor = "auto";
open_tournament(arg);
$('.moving_ux').animate({'left': '-100%'}, 250, 'easeInOutCubic');
});
@@ -160,6 +160,7 @@ function open_tournaments_tab(arg, opentab = true) {
$('.tou_container').each(function() {
$(this).on("click", function() {
let ti = $(this).attr('id');
document.body.style.cursor = "progress";
ipc_send("tou_get", ti);
});
});

0 comments on commit de519a9

Please sign in to comment.