Paulo Reis 9 лет назад
Родитель
Сommit
34796b18c5

+ 2 - 2
services/web/app/views/project/editor/review-panel.pug

@@ -255,9 +255,9 @@ script(type='text/ng-template', id='aggregateChangeEntryTemplate')
 					i.fa.fa-pencil
 				.rp-entry-details
 					.rp-entry-description
-						| Changed 
+						| #{translate("aggregate_changed")} 
 						del.rp-content-highlight {{ entry.metadata.replaced_content }}
-						|  for 
+						|  #{translate("aggregate_to")} 
 						ins.rp-content-highlight {{ entry.content }}
 						a.rp-collapse-toggle(
 							href

+ 6 - 0
services/web/public/coffee/ide/review-panel/directives/reviewPanelSorted.coffee

@@ -65,6 +65,8 @@ define [
 					focused_entry_top = Math.max(focused_entry.scope.entry.screenPos.y, TOOLBAR_HEIGHT)
 					focused_entry.$box_el.css(
 						top: focused_entry_top
+						# The entry element is invisible by default, to avoid flickering when positioning for 
+						# the first time. Here we make sure it becomes visible after having a "top" value.
 						visibility: "visible"
 					)
 					focused_entry.$indicator_el.css(top: focused_entry_top)
@@ -78,6 +80,8 @@ define [
 						previousBottom = top + height
 						entry.$box_el.css(
 							top: top
+							# The entry element is invisible by default, to avoid flickering when positioning for 
+							# the first time. Here we make sure it becomes visible after having a "top" value.
 							visibility: "visible"
 						)
 						entry.$indicator_el.css(top: top)
@@ -97,6 +101,8 @@ define [
 						previousTop = top
 						entry.$box_el.css(
 							top: top
+							# The entry element is invisible by default, to avoid flickering when positioning for 
+							# the first time. Here we make sure it becomes visible after having a "top" value.
 							visibility: "visible"
 						)
 						entry.$indicator_el.css(top: top)