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