double editorCenterY(int selectedLayerIndex) => (editorSize.height - appBarHeight - bottomBarHeight) / 2;