By player screen settings

This commit is contained in:
philippe44
2020-03-05 19:46:06 -08:00
parent 831410752a
commit c865dfbe9c
9 changed files with 160 additions and 40 deletions

View File

@@ -25,6 +25,7 @@ sub playerSettingsFrame {
if ($id == 0xfe) {
$value = (unpack('Cn', $$data_ref))[1];
if ($value > 100 && $value < 400) {
$prefs->client($client)->set('width', $value);
$client->display->modes($client->display->build_modes($value));
$client->display->widthOverride(1, $value);
$client->update;