Remove crop tool
This commit is contained in:
@@ -16,10 +16,9 @@ export type LayersSheetProps = {
|
||||
maskEdit?: MaskEditState;
|
||||
open: boolean;
|
||||
dispatch: AppStore["dispatch"];
|
||||
onClose: () => void;
|
||||
};
|
||||
|
||||
export function LayersSheet({ document, selection, maskEdit, open, dispatch, onClose }: LayersSheetProps) {
|
||||
export function LayersSheet({ document, selection, maskEdit, open, dispatch }: LayersSheetProps) {
|
||||
const selectedArtboardId = selection.artboardId ?? document.artboards[0]?.id;
|
||||
const selectedLayer = findLayerInfoInDocument(document, selection.layerIds[0]);
|
||||
const canGroup = Boolean(selection.artboardId && selection.layerIds.length > 0);
|
||||
@@ -491,7 +490,3 @@ function createGroup(name: string): Layer {
|
||||
function toolbarButtonClass() {
|
||||
return "inline-flex h-8 items-center gap-1.5 rounded-full border border-white/10 bg-white/[0.04] px-3 text-white/75 transition hover:border-white/20 hover:bg-white/10 hover:text-white disabled:pointer-events-none disabled:opacity-35";
|
||||
}
|
||||
|
||||
function iconButtonClass() {
|
||||
return "grid size-8 place-items-center rounded-full text-white/70 transition hover:bg-white/10 hover:text-white focus:outline-none focus-visible:outline-none";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user