Rev4550, Show all modified files after click

This commit is contained in:
Tamas Kocsis 2020-11-19 03:05:53 +01:00
parent d68c635e9a
commit 52d6c9fedf
5 changed files with 19 additions and 2 deletions

View File

@ -14,7 +14,7 @@ class Config(object):
def __init__(self, argv):
self.version = "0.7.2"
self.rev = 4549
self.rev = 4550
self.argv = argv
self.action = None
self.test_parser = None

View File

@ -9,9 +9,16 @@ class Infopanel
else
@open()
unfold: =>
@elem.toggleClass("unfolded")
return false
updateEvents: =>
@elem.off("click")
@elem.find(".close").off("click")
@elem.find(".line").off("click")
@elem.find(".line").on("click", @unfold)
if @elem.hasClass("closed")
@elem.on "click", =>

View File

@ -131,6 +131,7 @@ a { color: black }
padding: 4px; border-top-left-radius: 6px; border-bottom-left-radius: 6px; font-size: 10px;
opacity: 0; margin-left: 0px; pointer-events: none; transition: all 0.6s;
}
.infopanel.unfolded .message .line { overflow: visible; white-space: normal; }
.body-sidebar .infopanel { right: 425px; }
.body-sidebar .infopanel.closed { right: 0px; }

View File

@ -144,6 +144,7 @@ a { color: black }
padding: 4px; border-top-left-radius: 6px; border-bottom-left-radius: 6px; font-size: 10px;
opacity: 0; margin-left: 0px; pointer-events: none; -webkit-transition: all 0.6s; -moz-transition: all 0.6s; -o-transition: all 0.6s; -ms-transition: all 0.6s; transition: all 0.6s ;
}
.infopanel.unfolded .message .line { overflow: visible; white-space: normal; }
.body-sidebar .infopanel { right: 425px; }
.body-sidebar .infopanel.closed { right: 0px; }

View File

@ -548,6 +548,7 @@ $.extend( $.easing,
this.close = bind(this.close, this);
this.hide = bind(this.hide, this);
this.updateEvents = bind(this.updateEvents, this);
this.unfold = bind(this.unfold, this);
this.show = bind(this.show, this);
this.visible = false;
}
@ -564,9 +565,16 @@ $.extend( $.easing,
}
};
Infopanel.prototype.unfold = function() {
this.elem.toggleClass("unfolded");
return false;
};
Infopanel.prototype.updateEvents = function() {
this.elem.off("click");
this.elem.find(".close").off("click");
this.elem.find(".line").off("click");
this.elem.find(".line").on("click", this.unfold);
if (this.elem.hasClass("closed")) {
return this.elem.on("click", (function(_this) {
return function() {
@ -621,6 +629,7 @@ $.extend( $.easing,
}).call(this);
/* ---- Loading.coffee ---- */
@ -779,7 +788,6 @@ $.extend( $.easing,
}).call(this);
/* ---- Notifications.coffee ---- */