Skip to content

Commit

Permalink
add truncation to method
Browse files Browse the repository at this point in the history
  • Loading branch information
Saira-A committed Nov 1, 2024
1 parent af748d0 commit 462ee11
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -191,5 +191,13 @@ export class SettingsDialogue extends BaseSettingsDialogue {
} else {
this.$preserveViewportCheckbox.removeAttr("checked");
}

if (this.$truncateThumbnailLabelsCheckbox) {
if (settings.truncateThumbnailLabels) {
this.$truncateThumbnailLabelsCheckbox.prop("checked", true);
} else {
this.$truncateThumbnailLabelsCheckbox.prop("checked", false);
}
}
}
}

0 comments on commit 462ee11

Please sign in to comment.