"use strict";(self.webpackChunk_jbrowse_web=self.webpackChunk_jbrowse_web||[]).push([[3576],{93576:function(e,t,o){o.r(t);var a=o(96234),n=o(30969),r=o(90550),i=o(59071),s=o(33359),c=o(87006),l=o(96074),h=o(72097),u=o(59767),d=o(53276),x=o(37574),f=(0,d.ZL)()({root:{width:500}}),b=(0,r.observer)((function(e){var t=e.model,o=e.handleClose,r=f().classes,d=t.maxHeight,b=void 0===d?"":d,m=(0,n.useState)("".concat(b)),j=(0,a.Z)(m,2),p=j[0],v=j[1];return(0,x.jsx)(u.Dialog,{open:!0,onClose:o,title:"Filter options",children:(0,x.jsxs)(i.Z,{className:r.root,children:[(0,x.jsx)(s.Z,{children:'Set max height for the track. For example, you can increase this if the layout says "Max height reached"'}),(0,x.jsx)(c.Z,{value:p,onChange:function(e){return v(e.target.value)},placeholder:"Enter max height for layout"}),(0,x.jsxs)(l.Z,{children:[(0,x.jsx)(h.Z,{variant:"contained",color:"primary",type:"submit",autoFocus:!0,onClick:function(){t.setMaxHeight(""===p||Number.isNaN(+p)?void 0:+p),o()},children:"Submit"}),(0,x.jsx)(h.Z,{variant:"contained",color:"secondary",onClick:function(){return o()},children:"Cancel"})]})]})})}));t.default=b}}]);
//# sourceMappingURL=3576.a80e2b22.chunk.js.map