Browse Source

Rev4550, Show all modified files after click

pull/2682/head
Tamas Kocsis 2 years ago
parent
commit
52d6c9fedf
  1. 2
      src/Config.py
  2. 7
      src/Ui/media/Infopanel.coffee
  3. 1
      src/Ui/media/Wrapper.css
  4. 1
      src/Ui/media/all.css
  5. 10
      src/Ui/media/all.js

2
src/Config.py

@ -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

7
src/Ui/media/Infopanel.coffee

@ -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", =>

1
src/Ui/media/Wrapper.css

@ -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; }

1
src/Ui/media/all.css

@ -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; }

10
src/Ui/media/all.js

@ -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 ---- */

Loading…
Cancel
Save