Skip to content

Commit

Permalink
Don't use fold5 for things that are not conflicts.
Browse files Browse the repository at this point in the history
  • Loading branch information
kohler committed Feb 9, 2020
1 parent 78d249a commit cbd016d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scripts/settings.js
Expand Up @@ -35,7 +35,7 @@ handle_ui.on("js-settings-option-description", function () {
});

handle_ui.on("js-settings-option-presence", function (event) {
foldup.call(this, null, {n: 5, f: false});
foldup.call(this, null, {n: 10, f: false});
foldup.call(this, null, {n: 9, f: false});
if (document.activeElement === this)
$(this).closest(".settings-opt").find(".settings-opt-presence").focus();
Expand Down
4 changes: 2 additions & 2 deletions src/settings/s_options.php
Expand Up @@ -67,8 +67,8 @@ static function render_description_property(SettingValues $sv, PaperOption $o, $
. '</div></div>';
}
static function render_presence_property(SettingValues $sv, PaperOption $o, $xpos, $self, $gj) {
$self->add_option_class("fold5" . ($o->final || !$o->id ? "o" : "c"));
return '<div class="' . $sv->control_class("optec_$xpos", "entryi fx5")
$self->add_option_class("fold10" . ($o->final || !$o->id ? "o" : "c"));
return '<div class="' . $sv->control_class("optec_$xpos", "entryi fx10")
. '">' . $sv->label("optec_$xpos", "Condition")
. '<div class="entry">'
. '<span class="sep">'
Expand Down

0 comments on commit cbd016d

Please sign in to comment.