Skip to content

Commit

Permalink
Issue 5778 (Make activated Break On ... more obvious in panel tabs)
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastianZ committed May 6, 2013
1 parent e510034 commit 7ba1491
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 deletions.
7 changes: 2 additions & 5 deletions extension/content/firebug/firebug.css
Original file line number Diff line number Diff line change
Expand Up @@ -350,17 +350,14 @@ panelTab > panelTabMenu .menuPopup:-moz-locale-dir(rtl) {
}

panelTab[breakOnNextArmed="true"] > .panelTab-text {
text-shadow: 1px 1px 2px darkGray, 0 0 1em orange, 0 0 0.2em orange !important;
/* animation: armedBlinking 0.8s ease-out infinite alternate; see issue 5618 */
animation: armedBlinking 0.8s steps(9, end) infinite alternate;
}

/* see issue 5618
panelTab.highlighted {
text-shadow: 1px 1px 2px darkGray, 0px 0px 1em orange, 0px 0px 0.2em orange !important;
transition-property: text-shadow;
transition-duration: 0.8s;
transition-duration: 1.4s;
}
*/

panelTab[aria-disabled='true'] {
color: graytext !important;
Expand Down
8 changes: 1 addition & 7 deletions extension/content/firebug/js/breakpoint.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function(Obj, Firebug, Domplate, FirebugReps, Locale, Events, SourceLink,
// ********************************************************************************************* //
// Constants

/* const animationDuration = 0.8; see issue 5618 */
const animationDuration = 0.8;

// ********************************************************************************************* //
// Breakpoints
Expand Down Expand Up @@ -111,7 +111,6 @@ Firebug.Breakpoint = Obj.extend(Firebug.Module,
Menu.createMenuItems(menuPopup, menuItems);
},

/* see issue 5618
toggleTabHighlighting: function(event)
{
// Don't continue if it's the wrong animation phase
Expand All @@ -131,7 +130,6 @@ Firebug.Breakpoint = Obj.extend(Firebug.Module,
panel.context.delayedArmedTab.setAttribute("breakOnNextArmed", "true");
delete panel.context.delayedArmedTab;
},
*/

updateBreakOnNextTooltips: function(panel)
{
Expand Down Expand Up @@ -171,9 +169,6 @@ Firebug.Breakpoint = Obj.extend(Firebug.Module,
var panelBar = Firebug.chrome.$("fbPanelBar1");
var tab = panelBar.getTab(panel.name);
if (tab)
tab.setAttribute("breakOnNextArmed", armed ? "true" : "false");

/* see issue 5618
{
if (armed)
{
Expand Down Expand Up @@ -202,7 +197,6 @@ Firebug.Breakpoint = Obj.extend(Firebug.Module,
tab.setAttribute("breakOnNextArmed", "false");
}
}
*/
},

updatePanelTabs: function(context)
Expand Down

0 comments on commit 7ba1491

Please sign in to comment.