"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[7930],{39004:(e,t,a)=>{a.r(t),a.d(t,{default:()=>m});var o=a(66204),l=a(80846),r=a(35421),n=a(29520),c=a(80013),s=a(46338),i=a(62301),h=a(7146);const u=(0,a(38684).ZL)()({root:{width:500}}),m=(0,l.observer)((function({model:e,handleClose:t}){const{classes:a}=u(),{maxHeight:l=""}=e,[m,b]=(0,o.useState)(`${l}`);return o.createElement(r.Dialog,{open:!0,onClose:t,title:"Set max height"},o.createElement(n.Z,{className:a.root},o.createElement(c.Z,null,'Set max height for the track. For example, you can increase this if the layout says "Max height reached"'),o.createElement(s.Z,{value:m,onChange:e=>b(e.target.value),placeholder:"Enter max score"}),o.createElement(i.Z,null,o.createElement(h.Z,{variant:"contained",color:"primary",type:"submit",autoFocus:!0,onClick:()=>{e.setMaxHeight(""===m||Number.isNaN(+m)?void 0:+m),t()}},"Submit"),o.createElement(h.Z,{variant:"contained",color:"secondary",onClick:()=>t()},"Cancel"))))}))}}]);
//# sourceMappingURL=7930.46c22761.chunk.js.map