"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[9589],{49589:(e,t,a)=>{a.r(t),a.d(t,{default:()=>m});var o=a(7552),l=a(68446),n=a(29499),r=a(36715),c=a(1343),s=a(58507),i=a(5401),h=a(49823);const u=(0,a(75785).n9)()({root:{width:500}}),m=(0,l.observer)((function(e){const{model:t,handleClose:a}=e,{classes:l}=u(),{maxHeight:m=""}=t,[b,d]=(0,o.useState)(`${m}`);return o.createElement(h.Dialog,{open:!0,onClose:a,title:"Set max height"},o.createElement(n.A,{className:l.root},o.createElement(r.A,null,'Set max height for the track. For example, you can increase this if the layout says "Max height reached"'),o.createElement(c.A,{value:b,autoFocus:!0,onChange:e=>{d(e.target.value)},placeholder:"Enter max height for layout"}),o.createElement(s.A,null,o.createElement(i.A,{variant:"contained",color:"primary",type:"submit",autoFocus:!0,onClick:()=>{t.setMaxHeight(""===b||Number.isNaN(+b)?void 0:+b),a()}},"Submit"),o.createElement(i.A,{variant:"contained",color:"secondary",onClick:()=>{a()}},"Cancel"))))}))}}]);
//# sourceMappingURL=9589.9087e0ea.chunk.js.map