Skip to content

Commit

Permalink
Merge branch 'next-windows' of https://github.com/ItsEeleeya/Cap into…
Browse files Browse the repository at this point in the history
… next-windows
  • Loading branch information
ItsEeleeya committed Nov 16, 2024
2 parents ec02aef + 73f96c8 commit 9a49e34
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ComponentProps, createEffect, JSX, Show, splitProps } from "solid-js";
import { ComponentProps, JSX, Show, splitProps } from "solid-js";
import { WindowControlButton as ControlButton } from "./WindowControlButton";
import { getCurrentWindow } from "@tauri-apps/api/window";
import titlebarState from "~/utils/titlebar-state";
Expand All @@ -8,10 +8,6 @@ export default function (props: ComponentProps<"div">) {
const [local, otherProps] = splitProps(props, ["class"]);
const window = getCurrentWindow();

createEffect(() => {
console.log(`Maximizable? ${titlebarState.maximizable}`);
});

return (
<div
class={`h-full align-baseline select-none *:outline-none *:transition-all *:duration-200 ${local.class}`}
Expand Down
2 changes: 1 addition & 1 deletion apps/desktop/src/routes/(window-chrome)/settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export default function Settings(props: RouteSectionProps) {
</Button>
</div>
</div>
<div class="flex-1 bg-gray-50 overflow-y-hidden animate-in !scrollbar-thin">
<div class="flex-1 bg-gray-50 overflow-y-hidden animate-in">
<Suspense>{props.children}</Suspense>
</div>
</div>
Expand Down

0 comments on commit 9a49e34

Please sign in to comment.