Skip to content

Commit 6ee47f5

Browse files
committed
Fixes
1 parent 5455b0a commit 6ee47f5

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

src/cs2/items/assets/inventory_asset.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,12 @@ export default class InventoryAsset extends Asset {
331331
return;
332332
}
333333

334+
if (selectedItem != unsafeWindow.iActiveSelectView
335+
|| this._asset != unsafeWindow.g_ActiveInventory.selectedItem
336+
) {
337+
return;
338+
}
339+
334340
// Display storage unit name
335341
const nameTag = inventory.items.find(x => x.iteminfo.id == this._assetid)?.attributes["custom name attr"];
336342
if (nameTag) {

src/css/style.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1310,7 +1310,7 @@
13101310
}
13111311

13121312
.cs2s_settings_form {
1313-
overflow-y: scroll;
1313+
overflow-y: auto;
13141314
padding: 0px 24px 24px 24px;
13151315
width: 900px;
13161316
max-height: 85vh;

0 commit comments

Comments
 (0)