Skip to content

Commit

Permalink
Don’t render off-screen UI (#118)
Browse files Browse the repository at this point in the history
Fixes #114
  • Loading branch information
mfikes authored Jan 11, 2024
1 parent fa3551c commit 5add069
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Impedance Converter/Impedance Converter/ContentView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ struct ModePickerView: View {
struct ImmittanceColumnView: View {
var viewModel: ViewModel
var body: some View {
VStack {
LazyVStack {
ImmittanceView(viewModel: viewModel)
CircuitView(viewModel: viewModel)
ParametersView(viewModel: viewModel)
Expand All @@ -127,7 +127,7 @@ struct ImmittanceColumnView: View {
struct SmithChartColumnView: View {
var viewModel: ViewModel
var body: some View {
VStack {
LazyVStack {
SmithChartView(viewModel: viewModel)
CharacterizationView(viewModel: viewModel)
LengthView(viewModel: viewModel)
Expand Down

0 comments on commit 5add069

Please sign in to comment.