"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[4655],{14655:(e,t,a)=>{a.r(t),a.d(t,{default:()=>m});var n=a(66204),r=a(80846),l=a(29520),i=a(80013),o=a(46338),c=a(39780),s=a(70539),u=a(62301),h=a(7146),g=a(35421);const m=(0,r.observer)((function(e){const{model:t,handleClose:a}=e,{featureHeightSetting:r,noSpacing:m}=t,[b,d]=(0,n.useState)(`${r}`),[p,v]=(0,n.useState)(m),w=""!==b&&!Number.isNaN(+b);return n.createElement(g.Dialog,{open:!0,onClose:a,title:"Set feature height"},n.createElement(l.Z,null,n.createElement(i.Z,null,"Adjust the feature height and whether there is any spacing between features. Setting feature height to 1 and removing spacing makes the display very compact."),n.createElement(o.Z,{value:b,helperText:"Feature height",onChange:e=>d(e.target.value)}),n.createElement(c.Z,{control:n.createElement(s.Z,{checked:!!p,onChange:()=>v((e=>!e))}),label:"Remove spacing between features in y-direction?"}),n.createElement(u.Z,null,n.createElement(h.Z,{variant:"contained",color:"primary",type:"submit",autoFocus:!0,disabled:!w,onClick:()=>{t.setFeatureHeight(""===b||Number.isNaN(+b)?void 0:+b),t.setNoSpacing(p),a()}},"Submit"),n.createElement(h.Z,{variant:"contained",color:"secondary",onClick:()=>a()},"Cancel"))))}))}}]);
//# sourceMappingURL=4655.0067c428.chunk.js.map