diff --git a/CHANGELOG.md b/CHANGELOG.md index 64445d7..afcf5fb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## [Unreleased] +## [4.2.0b] - 2018-03-27 +### Changed +Updated WilB's Library Tree to v1.401. + ## [4.2.0a] - 2018-03-26 ### Fixed Playlist Panel: fixed wrong scroll position on item refocusing. @@ -237,7 +241,8 @@ Playlist Panel: ### Fixed - Fixed various crashes caused by incompatibility with JScript. -[Unreleased]: https://github.com/theqwertiest/CaTRoX_QWR/compare/v4.2.0a...HEAD +[Unreleased]: https://github.com/theqwertiest/CaTRoX_QWR/compare/v4.2.0b...HEAD +[4.2.0b]: https://github.com/theqwertiest/CaTRoX_QWR/compare/v4.2.0a...v4.2.0b [4.2.0a]: https://github.com/theqwertiest/CaTRoX_QWR/compare/v4.2.0...v4.2.0a [4.2.0]: https://github.com/theqwertiest/CaTRoX_QWR/compare/v4.1.1...v4.2.0 [4.1.1]: https://github.com/theqwertiest/CaTRoX_QWR/compare/v4.1.0...v4.1.1 diff --git a/theme/Scripts/Common.js b/theme/Scripts/Common.js index 9687b67..6e1498a 100644 --- a/theme/Scripts/Common.js +++ b/theme/Scripts/Common.js @@ -5,7 +5,7 @@ var g_theme = {}; g_theme.name = 'CaTRoX (QWR Edition)'; -g_theme.version = '4.2.0a'; +g_theme.version = '4.2.0b'; g_theme.folder_name = 'CaTRoX'; g_theme.script_folder = 'themes\\' + g_theme.folder_name + '\\Scripts\\'; diff --git a/theme/Scripts/Panel_Library.js b/theme/Scripts/Panel_Library.js index 047bc4d..0a7ca19 100644 --- a/theme/Scripts/Panel_Library.js +++ b/theme/Scripts/Panel_Library.js @@ -1,7 +1,7 @@ // ==PREPROCESSOR== // @name "Library Tree" // @author "WilB" -// @version "1.4" +// @version "1.401" // ==/PREPROCESSOR== if (!window.GetProperty("SYSTEM.Chakra Checked", false) && !Date.now) {fb.ShowPopupMessage("Use the 'Chakra' script engine if possible (requires IE9 or later) - it's faster. Select in the JScript panel configuration window (shift + right click)", "Library Tree"); window.SetProperty("SYSTEM.Chakra Checked", true);} @@ -1043,7 +1043,7 @@ function populate() { last_pressed_coord = {x: undefined, y: undefined}; lbtn_dn = false; if (y < p.s_h) return; var ix = this.get_ix(x, y, true, false); p.pos = ix; if (ix >= this.tree.length || ix < 0) return this.get_selection(-1); var item = this.tree[ix], mode = x < Math.round(ui.pad * item.tr) + ui.icon_w + ui.margin ? 0 : this.check_ix(item, x, y, false) ? 1 : 2, xp = item.child.length > 0 ? 0 : 1; - if (!mode || sent) return; + if (mode != 1 || sent) return; if (v.k(2) && this.autoFill) return this.add(x, y, alt_lbtn_pl); if (!v.k(1)) {this.clear(); if (!item.sel) this.get_selection(ix, item.sel);} else this.get_selection(ix, item.sel); p.tree_paint();