Skip to content

Commit 52d6c9f

Browse files
committed
Rev4550, Show all modified files after click
1 parent d68c635 commit 52d6c9f

File tree

5 files changed

+19
-2
lines changed

5 files changed

+19
-2
lines changed

src/Config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class Config(object):
1414

1515
def __init__(self, argv):
1616
self.version = "0.7.2"
17-
self.rev = 4549
17+
self.rev = 4550
1818
self.argv = argv
1919
self.action = None
2020
self.test_parser = None

src/Ui/media/Infopanel.coffee

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,16 @@ class Infopanel
99
else
1010
@open()
1111

12+
unfold: =>
13+
@elem.toggleClass("unfolded")
14+
return false
15+
1216
updateEvents: =>
1317
@elem.off("click")
1418
@elem.find(".close").off("click")
19+
@elem.find(".line").off("click")
20+
21+
@elem.find(".line").on("click", @unfold)
1522

1623
if @elem.hasClass("closed")
1724
@elem.on "click", =>

src/Ui/media/Wrapper.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ a { color: black }
131131
padding: 4px; border-top-left-radius: 6px; border-bottom-left-radius: 6px; font-size: 10px;
132132
opacity: 0; margin-left: 0px; pointer-events: none; transition: all 0.6s;
133133
}
134+
.infopanel.unfolded .message .line { overflow: visible; white-space: normal; }
134135
.body-sidebar .infopanel { right: 425px; }
135136
.body-sidebar .infopanel.closed { right: 0px; }
136137

src/Ui/media/all.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ a { color: black }
144144
padding: 4px; border-top-left-radius: 6px; border-bottom-left-radius: 6px; font-size: 10px;
145145
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 ;
146146
}
147+
.infopanel.unfolded .message .line { overflow: visible; white-space: normal; }
147148
.body-sidebar .infopanel { right: 425px; }
148149
.body-sidebar .infopanel.closed { right: 0px; }
149150

src/Ui/media/all.js

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -548,6 +548,7 @@ $.extend( $.easing,
548548
this.close = bind(this.close, this);
549549
this.hide = bind(this.hide, this);
550550
this.updateEvents = bind(this.updateEvents, this);
551+
this.unfold = bind(this.unfold, this);
551552
this.show = bind(this.show, this);
552553
this.visible = false;
553554
}
@@ -564,9 +565,16 @@ $.extend( $.easing,
564565
}
565566
};
566567

568+
Infopanel.prototype.unfold = function() {
569+
this.elem.toggleClass("unfolded");
570+
return false;
571+
};
572+
567573
Infopanel.prototype.updateEvents = function() {
568574
this.elem.off("click");
569575
this.elem.find(".close").off("click");
576+
this.elem.find(".line").off("click");
577+
this.elem.find(".line").on("click", this.unfold);
570578
if (this.elem.hasClass("closed")) {
571579
return this.elem.on("click", (function(_this) {
572580
return function() {
@@ -621,6 +629,7 @@ $.extend( $.easing,
621629

622630
}).call(this);
623631

632+
624633
/* ---- Loading.coffee ---- */
625634

626635

@@ -779,7 +788,6 @@ $.extend( $.easing,
779788

780789
}).call(this);
781790

782-
783791
/* ---- Notifications.coffee ---- */
784792

785793

0 commit comments

Comments
 (0)