"use strict";(self.webpackChunk_jbrowse_web=self.webpackChunk_jbrowse_web||[]).push([[4947],{84947:function(e,t,o){o.r(t);var a=o(96234),n=o(96902),r=o(4782),i=o(52809),s=o(35388),c=o(66519),l=o(99688),h=o(44536),u=o(17867),d=o(91188),x=o(29938),f=(0,d.ZL)()({root:{width:500}});t.default=(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"})]})]})})}))}}]);
//# sourceMappingURL=4947.72242df6.chunk.js.map