Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: general setting #14

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ build/Release
node_modules/
jspm_packages/

# build
build/

# Snowpack dependency directory (https://snowpack.dev/)
web_modules/

Expand Down
1 change: 0 additions & 1 deletion build/index.asset.php

This file was deleted.

1 change: 0 additions & 1 deletion build/index.js

This file was deleted.

2 changes: 1 addition & 1 deletion src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ function App() {
<Header />
<Grid className="ls_g2t_section" columns={2} templateColumns="3fr repeat(1,1fr)">
<PreviewButton />
<Panel className="ls_g2t_sidepanel" header={__('Settings Panel')} >
<Panel className="ls_g2t_sidepanel">
<GeneralControl />
<DimensionControl />
<ColorControl />
Expand Down
2 changes: 1 addition & 1 deletion src/control/general.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function GeneralControl() {
value={generalSetting.buttonPosition}
onChange={(value) => setGeneralSetting({ ...generalSetting, buttonPosition: value })}
>
{['Center', 'Left', 'Right'].map((position) => (
{['Left', 'Center', 'Right'].map((position) => (
<ToggleGroupControlOption
key={position}
label={position}
Expand Down