"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[6497],{46497:(e,t,a)=>{a.r(t),a.d(t,{default:()=>m});var o=a(7552),l=a(68446),n=a(48735),r=a(29499),c=a(36715),s=a(1343),i=a(58507),h=a(5401);const u=(0,a(75785).n9)()({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(n.Dialog,{open:!0,onClose:t,title:"Set max height"},o.createElement(r.A,{className:a.root},o.createElement(c.A,null,'Set max height for the track. For example, you can increase this if the layout says "Max height reached"'),o.createElement(s.A,{value:m,onChange:e=>b(e.target.value),placeholder:"Enter max score"}),o.createElement(i.A,null,o.createElement(h.A,{variant:"contained",color:"primary",type:"submit",autoFocus:!0,onClick:()=>{e.setMaxHeight(""===m||Number.isNaN(+m)?void 0:+m),t()}},"Submit"),o.createElement(h.A,{variant:"contained",color:"secondary",onClick:()=>t()},"Cancel"))))}))}}]);
//# sourceMappingURL=6497.4b299dd7.chunk.js.map