Arsenal - Revert unicode support for sorting (#9871)

Revert unicode sorting
This commit is contained in:
johnb432 2024-03-23 14:29:26 +01:00 committed by GitHub
parent 2456c445b2
commit 58f6430bb6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -244,7 +244,7 @@ _for do {
// Sort alphabetically, find the previously selected item and select it again // Sort alphabetically, find the previously selected item and select it again
if (_right) then { if (_right) then {
[_panel, 1] lnbSortBy ["TEXT", _sortDirection == ASCENDING, false, true, false]; [_panel, 1] lnbSortBy ["TEXT", _sortDirection == ASCENDING, false, true, true]; // do not support unicode, as it's much more performance intensive (~3x more)
_for do { _for do {
// Remove sorting text, as it blocks the item name otherwise // Remove sorting text, as it blocks the item name otherwise
@ -258,7 +258,7 @@ if (_right) then {
}; };
}; };
} else { } else {
_panel lbSortBy ["TEXT", _sortDirection == ASCENDING, false, true, false]; _panel lbSortBy ["TEXT", _sortDirection == ASCENDING, false, true, true]; // do not support unicode, as it's much more performance intensive (~3x more)
_for do { _for do {
_item = _panel lbData _i; _item = _panel lbData _i;