Skip to content

Commit 1d92c3a

Browse files
author
Benjamin Pryor
committed
v12.2.4
Fixes #190
1 parent 7c4c4a5 commit 1d92c3a

File tree

2 files changed

+25
-5
lines changed

2 files changed

+25
-5
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# CollapsibleUI Patch Notes
22

3+
### v12.2.4:
4+
* Fixed user area being cut off
5+
* Fixed a small visual glitch caused by collapsing the channel list
6+
* Improved UIRefreshRefresh compatibility
7+
38
### v12.2.3:
49
* Fixed user profile compatibility issue with FullscreenToggle plugin
510

CollapsibleUI.plugin.js

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* @author programmer2514
44
* @authorId 563652755814875146
55
* @description A feature-rich BetterDiscord plugin that reworks the Discord UI to be significantly more modular
6-
* @version 12.2.3
6+
* @version 12.2.4
77
* @donate https://ko-fi.com/benjaminpryor
88
* @patreon https://www.patreon.com/BenjaminPryor
99
* @website https://github.com/programmer2514/BetterDiscord-CollapsibleUI
@@ -155,14 +155,16 @@ const settings = {
155155
const config = {
156156
changelog: [
157157
{
158-
title: '12.2.3',
158+
title: '12.2.4',
159159
type: 'added',
160160
items: [
161-
'Fixed user profile compatibility issue with FullscreenToggle plugin',
161+
'Fixed user area being cut off',
162+
'Fixed a small visual glitch caused by collapsing the channel list',
163+
'Improved UIRefreshRefresh compatibility',
162164
],
163165
},
164166
{
165-
title: '1.0.0 - 12.2.2',
167+
title: '1.0.0 - 12.2.3',
166168
type: 'added',
167169
items: [
168170
'See the full changelog here: https://programmer2514.github.io/?l=cui-changelog',
@@ -1327,7 +1329,7 @@ const styles = {
13271329
13281330
.${modules.sidebar?.guilds} {
13291331
transition: width var(--cui-transition-speed);
1330-
border-right: 1px solid var(--border-subtle) !important;
1332+
border-right: calc(1px * var(--cui-channel-list-toggled)) solid var(--border-subtle) !important;
13311333
border-top: 1px solid var(--app-border-frame) !important;
13321334
}
13331335
@@ -1932,6 +1934,15 @@ const styles = {
19321934
padding: 0 !important;
19331935
}
19341936
1937+
${(runtime.api.Themes.isEnabled('UI Refresh Refresh'))
1938+
? `
1939+
.${modules.user?.avatar} {
1940+
transition: transform var(--cui-transition-speed) !important;
1941+
transform: translateX(calc(-4px * (1 - var(--cui-channel-list-toggled))));
1942+
}
1943+
`
1944+
: ''}
1945+
19351946
${(settings.sizeCollapse)
19361947
? `
19371948
@media ${this.query} {
@@ -2434,6 +2445,10 @@ const styles = {
24342445
init: function () {
24352446
// Add root styles
24362447
runtime.api.DOM.addStyle(`${runtime.meta.name}-root`, `
2448+
:root {
2449+
--fst-server-list-collapsed: 0;
2450+
}
2451+
24372452
::-webkit-scrollbar {
24382453
width: 0px;
24392454
background: transparent;

0 commit comments

Comments
 (0)