Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
mbnuqw committed Sep 3, 2019
2 parents 44f6633 + 64fe992 commit 8415536
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 6 deletions.
2 changes: 1 addition & 1 deletion addon/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"author": "mbnuqw",
"name": "__MSG_ExtName__",
"version": "3.0.0",
"version": "3.0.1",
"default_locale": "en",
"description": "__MSG_ExtDesc__",
"homepage_url": "https://github.com/mbnuqw/sidebery",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sidebery",
"version": "3.0.0",
"version": "3.0.1",
"description": "Manage your tabs and bookmarks in sidebar",
"main": "index.js",
"scripts": {
Expand Down
8 changes: 8 additions & 0 deletions src/sidebar/actions/tabs.js
Original file line number Diff line number Diff line change
Expand Up @@ -1411,6 +1411,13 @@ function resetUpdateGroupTabTimeout() {
if (updateGroupTabTimeouit) clearTimeout(updateGroupTabTimeouit)
}

function updateActiveGroupPage() {
let activeTab = this.state.tabs.find(t => t.active)
if (Utils.isGroupUrl(activeTab.url)) {
this.actions.updateGroupTab(updateGroupTab)
}
}

export default {
loadTabs,
getOrderNormMoves,
Expand Down Expand Up @@ -1459,6 +1466,7 @@ export default {
getGroupTab,
updateGroupTab,
resetUpdateGroupTabTimeout,
updateActiveGroupPage,

createTabAfter,
updateTabsTree,
Expand Down
1 change: 1 addition & 0 deletions src/sidebar/sidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ export default new Vue({
Actions.saveTabsTree()

Actions.connectToBG()
Actions.updateActiveGroupPage()
},

mounted() {
Expand Down
2 changes: 1 addition & 1 deletion src/styles/themes/default/pinned-tab.styl
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@
.PinnedTab .audio-badge
pos(17px, same)

.PinnedTab[data-audible] .audio-badge > svg.-loud
.PinnedTab[data-audible]:not([data-muted]) .audio-badge > svg.-loud
.PinnedTab[data-muted] .audio-badge > svg.-mute
opacity: 1

Expand Down
2 changes: 1 addition & 1 deletion src/styles/themes/default/tabs.tab.styl
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
&:active
opacity: .5

.Tab[data-audible] svg.-loud
.Tab[data-audible]:not([data-muted]) svg.-loud
.Tab[data-muted] svg.-mute
opacity: 1

Expand Down
2 changes: 1 addition & 1 deletion src/styles/themes/tactile/pinned-tab.styl
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@
.PinnedTab .audio-badge
pos(17px, 16px)

.PinnedTab[data-audible] .audio-badge > svg.-loud
.PinnedTab[data-audible]:not([data-muted]) .audio-badge > svg.-loud
.PinnedTab[data-muted] .audio-badge > svg.-mute
opacity: 1

Expand Down
2 changes: 1 addition & 1 deletion src/styles/themes/tactile/tabs.tab.styl
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@
&:active
opacity: .5

.Tab[data-audible] svg.-loud
.Tab[data-audible]:not([data-muted]) svg.-loud
.Tab[data-muted] svg.-mute
opacity: 1

Expand Down

0 comments on commit 8415536

Please sign in to comment.