"use strict";(self.webpackChunk_jbrowse_web=self.webpackChunk_jbrowse_web||[]).push([[4947],{84947:function(e,t,n){n.r(t);var o=n(96234),a=n(96902),r=n(4782),i=n(52809),s=n(35388),c=n(66519),l=n(99688),h=n(44536),u=n(46186),d=n(91188),x=n(29938),f=(0,d.ZL)()((function(e){return{root:{width:500}}}));t.default=(0,r.observer)((function(e){var t=e.model,n=e.handleClose,r=f().classes,d=t.maxHeight,b=void 0===d?"":d,m=(0,a.useState)("".concat(b)),j=(0,o.Z)(m,2),p=j[0],v=j[1];return(0,x.jsx)(u.Dialog,{open:!0,onClose:n,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){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),n()},children:"Submit"}),(0,x.jsx)(h.Z,{variant:"contained",color:"secondary",onClick:function(){return n()},children:"Cancel"})]})]})})}))}}]);
//# sourceMappingURL=4947.926b16ee.chunk.js.map