From: Mischa POSLAWSKY Date: Tue, 11 Jan 2022 00:12:17 +0000 (+0100) Subject: word/edit: hide manual crop coordinates input X-Git-Tag: v1.13~14 X-Git-Url: http://git.shiar.nl/sheet.git/commitdiff_plain/a1eb869d25a24f6f0b19e3011a19474fc0102f8c?ds=sidebyside word/edit: hide manual crop coordinates input Managed by js interface, values not needed as long as it works correctly. Being hidden prevents workarounds so bugs are maybe forced to be fixed. --- diff --git a/word/edit.plp b/word/edit.plp index f41b0ab..e442851 100644 --- a/word/edit.plp +++ b/word/edit.plp @@ -111,7 +111,7 @@ my %wordcol = ( convert => {-label => 'Convert options', -json => 'image', -multiple => 1, -src => sub { return "data/word/32/$_[0]->{id}.jpg"; }}, - crop32 => {-label => 'Crop 3:2', -json => 'image'}, + crop32 => {-json => 'image', type => 'hidden'}, # set by javascript interface story => {-label => 'Story', type => 'textarea', hidden => 'hidden'}, );