Skip to content
Merged
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
2 changes: 2 additions & 0 deletions RingLight.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,7 @@
ENABLE_PREVIEWS = YES;
ENABLE_USER_SELECTED_FILES = readonly;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_KEY_LSUIElement = YES;
INFOPLIST_KEY_NSHumanReadableCopyright = "";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
Expand Down Expand Up @@ -308,6 +309,7 @@
ENABLE_PREVIEWS = YES;
ENABLE_USER_SELECTED_FILES = readonly;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_KEY_LSUIElement = YES;
INFOPLIST_KEY_NSHumanReadableCopyright = "";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
Expand Down
17 changes: 14 additions & 3 deletions RingLight/Features/RingLight/Views/ContentView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,26 @@ struct ContentView: View {
Slider(value: $controller.intensity, in: 0.1...1)
}

parameterSection(title: "Softness", valueLabel: String(format: "%.0f%%", controller.feather * 100)) {

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

comment it out incase I want tot bring it back in the future

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done! The softness slider is now commented out instead of removed (c9596fb).

Slider(value: $controller.feather, in: 0...0.9)
}
// parameterSection(title: "Softness", valueLabel: String(format: "%.0f%%", controller.feather * 100)) {
// Slider(value: $controller.feather, in: 0...0.9)
// }

parameterSection(title: "Color temperature", valueLabel: "\(Int(controller.temperature))K") {
Slider(value: $controller.temperature, in: 2800...7000, step: 50)
}

TemperaturePresetRow(controller: controller)

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add a divider here

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added a Divider before the quit button for visual separation (c9596fb).

Divider()

Button {
NSApplication.shared.terminate(nil)
} label: {
Text("Quit RingLight")
.frame(maxWidth: .infinity)
}
.buttonStyle(.plain)
.foregroundColor(.secondary)
}
.padding(16)
.frame(width: 360)
Expand Down