Skip to content

Commit

Permalink
Fixed a bug where touch on the selection screen was not activated whe…
Browse files Browse the repository at this point in the history
…n there was no style.
  • Loading branch information
jasudev committed Mar 27, 2022
1 parent 5793f16 commit ac31dc7
Show file tree
Hide file tree
Showing 26 changed files with 62 additions and 356 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,11 @@ struct TabViews: View {

var listView: some View {
List(0...100, id: \.self) { index in
Text("Index \(index)")
Button {
print("click")
} label: {
Text("Index \(index)")
}
}.listStyle(.plain)
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,6 @@
4B0EE0F927E4B875005B804E /* AxisSegmentedView */ = {isa = PBXFileReference; lastKnownFileType = wrapper; name = AxisSegmentedView; path = ..; sourceTree = "<group>"; };
4B3D010A27EE014F000A8506 /* CustomStyle.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CustomStyle.swift; sourceTree = "<group>"; };
4B4A605827EF6052008D69AF /* CustomStyleView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CustomStyleView.swift; sourceTree = "<group>"; };
4B4D2CC727EFFD3200EE251F /* AxisSegmentedViewExampleApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AxisSegmentedViewExampleApp.swift; sourceTree = "<group>"; };
4B4D2CC927EFFD3200EE251F /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = "<group>"; };
4B4D2CCB27EFFD3300EE251F /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
4B4D2CCE27EFFD3300EE251F /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = "<group>"; };
4B4D2CD727EFFD6800EE251F /* AxisSegmentedViewExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = AxisSegmentedViewExample.app; sourceTree = BUILT_PRODUCTS_DIR; };
4B4D2CD927EFFD6800EE251F /* AxisSegmentedViewExample__tvOS_App.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AxisSegmentedViewExample__tvOS_App.swift; sourceTree = "<group>"; };
4B4D2CDB27EFFD6800EE251F /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -149,7 +145,6 @@
4B0EE0F827E4B875005B804E /* Packages */,
4B0EE0D927E4B84D005B804E /* Shared */,
4B0EE0E827E4B84E005B804E /* macOS */,
4B4D2CC627EFFD3200EE251F /* AxisSegmentedViewExample */,
4B4D2CD827EFFD6800EE251F /* AxisSegmentedViewExample (tvOS) */,
4B0EE0E227E4B84E005B804E /* Products */,
4B0EE0FA27E4BE88005B804E /* Frameworks */,
Expand Down Expand Up @@ -207,25 +202,6 @@
name = Frameworks;
sourceTree = "<group>";
};
4B4D2CC627EFFD3200EE251F /* AxisSegmentedViewExample */ = {
isa = PBXGroup;
children = (
4B4D2CC727EFFD3200EE251F /* AxisSegmentedViewExampleApp.swift */,
4B4D2CC927EFFD3200EE251F /* ContentView.swift */,
4B4D2CCB27EFFD3300EE251F /* Assets.xcassets */,
4B4D2CCD27EFFD3300EE251F /* Preview Content */,
);
path = AxisSegmentedViewExample;
sourceTree = "<group>";
};
4B4D2CCD27EFFD3300EE251F /* Preview Content */ = {
isa = PBXGroup;
children = (
4B4D2CCE27EFFD3300EE251F /* Preview Assets.xcassets */,
);
path = "Preview Content";
sourceTree = "<group>";
};
4B4D2CD827EFFD6800EE251F /* AxisSegmentedViewExample (tvOS) */ = {
isa = PBXGroup;
children = (
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

6 changes: 5 additions & 1 deletion AxisSegmentedViewExample/Shared/WithoutStyleView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,11 @@ struct TabViews: View {

var listView: some View {
List(0...100, id: \.self) { index in
Text("Index \(index)")
Button {
print("click")
} label: {
Text("Index \(index)")
}
}.listStyle(.plain)
}

Expand Down
Loading

0 comments on commit ac31dc7

Please sign in to comment.