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