Skip to content

Commit

Permalink
Bump version to 1.13.2
Browse files Browse the repository at this point in the history
  • Loading branch information
krlvm committed Apr 10, 2022
1 parent 2a4d5bc commit 6b2426b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 7 deletions.
17 changes: 12 additions & 5 deletions BeautySearch/BeautySearch.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ const SETTINGS_DEFAULTS = {
// Use defaults if the script is injected manually
const SETTINGS = SETTINGS_DEFAULTS;

const VERSION = '1.13';
const VERSION = '1.13.2';

console.log('BeautySearch v' + VERSION + ' is loaded');

Expand Down Expand Up @@ -441,6 +441,13 @@ if(SETTINGS.contextMenuFluent) {
}
`);

injectStyle(`
.contextMenu .menuItem.focusable:focus {
transform: scale(0.99);
}
`);


if(!SETTINGS.contextMenuAcrylic || SETTINGS.globalInstall) {
const prefix = SETTINGS.globalInstall ? `body:not(${CLASS_VISUAL_EFFECTS}) ` : '';
injectStyle(`
Expand Down Expand Up @@ -491,19 +498,19 @@ if(SETTINGS.contextMenuAcrylic || SETTINGS.globalInstall) {
if (SETTINGS.contextMenuLightI) {
injectStyle(`
${selectors.light(['.contextMenu .menuItem.focusable:hover'], prefix)} {
background-color: rgba(217, 217, 217, 0.8) !important;
background-color: rgba(0, 0, 0, 0.1) !important;
}
${selectors.light(['.contextMenu .menuItem.focusable:focus'], prefix)} {
background-color: rgba(203, 203, 203, 0.9) !important;
background-color: rgba(0, 0, 0, 0.15) !important;
}
`);
} else {
injectStyle(`
${selectors.light(['.contextMenu .menuItem.focusable:hover'], prefix)} {
background-color: rgba(244, 244, 244, 0.7) !important;
background-color: rgba(255, 255, 255, 0.6) !important;
}
${selectors.light(['.contextMenu .menuItem.focusable:focus'], prefix)} {
background-color: rgba(244, 244, 244, 0.9) !important;
background-color: rgba(255, 255, 255, 0.8) !important;
}
`);
}
Expand Down
4 changes: 2 additions & 2 deletions BeautySearch/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.13.1.0")]
[assembly: AssemblyFileVersion("1.13.1.0")]
[assembly: AssemblyVersion("1.13.2.0")]
[assembly: AssemblyFileVersion("1.13.2.0")]

0 comments on commit 6b2426b

Please sign in to comment.