"use strict";(self.webpackChunk_jbrowse_web=self.webpackChunk_jbrowse_web||[]).push([[5044],{5044:(e,t,a)=>{a.r(t),a.d(t,{default:()=>b});var o=a(41867),s=a(3762),r=a(47409),n=a(51590),i=a(49133),c=a(27768),l=a(23801),h=a(35421),u=a(47192),d=a(80838);const x=(0,u.ZL)()({root:{width:500}}),b=(0,s.observer)((function(e){const{model:t,handleClose:a}=e,{classes:s}=x(),{maxHeight:u=""}=t,[b,m]=(0,o.useState)("".concat(u));return(0,d.jsx)(h.Dialog,{open:!0,onClose:a,title:"Filter options",children:(0,d.jsxs)(r.Z,{className:s.root,children:[(0,d.jsx)(n.Z,{children:'Set max height for the track. For example, you can increase this if the layout says "Max height reached"'}),(0,d.jsx)(i.Z,{value:b,onChange:e=>m(e.target.value),placeholder:"Enter max height for layout"}),(0,d.jsxs)(c.Z,{children:[(0,d.jsx)(l.Z,{variant:"contained",color:"primary",type:"submit",autoFocus:!0,onClick:()=>{t.setMaxHeight(""===b||Number.isNaN(+b)?void 0:+b),a()},children:"Submit"}),(0,d.jsx)(l.Z,{variant:"contained",color:"secondary",onClick:()=>a(),children:"Cancel"})]})]})})}))}}]);
//# sourceMappingURL=5044.d06acf3d.chunk.js.map