diff --git a/.DS_Store b/.DS_Store index 9a75fc1..056833b 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/gloss/ContentView.swift b/gloss/ContentView.swift index 36934da..6b66fa6 100644 --- a/gloss/ContentView.swift +++ b/gloss/ContentView.swift @@ -179,47 +179,6 @@ struct RibbonCrown : View { } .frame(width: CGFloat(100 * 1.66 * scale + 10 ), height:CGFloat(100 * scale + 5)) -// Text(ribbon.title) -// .foregroundColor(Color(UIColor(red: 0.76, green: 0.76, blue: 0.76, alpha: 1.00))) -// // // .background(Color(red: 0.3, green: 0.3, blue: 0.3)) -// // .foregroundColor(.white)) -// // .foregroundColor(.black) -// .frame(minWidth: CGFloat(75), maxWidth: CGFloat(75), minHeight: height, maxHeight: height, alignment: .center) -// // .background(.red) -// // .background(.yellow) -// .multilineTextAlignment(.center) -// // .minimumScaleFactor(0.5) -// .padding([.top, .bottom], 10) -// .font(Font.custom("AveriaSerifLibre-Regular", size: CGFloat(10))) - -// .overlay( MyIcon().frame(width: CGFloat(100 * 1.66 * scale), height: CGFloat(100 * scale), alignment: .center) .foregroundColor(Color(UIColor(red: 0.30, green: 0.30, blue: 0.30, alpha: 0.4)))) - -// .offset(x: xOffset) -// .onTapGesture { -// Print("TAP") -// // selectedLine = seg.id -// // Print(selectedLine) -// } - - - // ForEach(sr) { selectedRibbon in - // let ribbonString = String(sr[0].id!) + " " + String(ribbon.id!) + " " + String(ribbon.scrollOffset) + " " + ribbon.scrollId - // Button(ribbonString, - // action: { - // Task { - // goToRibbon(selectedRibbon: sr[0], - // destRibbon: ribbon, - // scrollId: $scrollId, - // scrollOffset: $scrollOffset, - // refresh: $refresh, - // showOverlay: $showOverlay, - // appDatabase: appDatabase, - // loading: false) - // } - // } - - // ) - // .buttonStyle(BlueButtonStyle()) } } @@ -504,15 +463,10 @@ struct ContentView: View { Task { DispatchQueue.main.async { - Print("scroll Id target: \(scrollId)") - proxy.scrollTo(scrollId! , anchor: .top) - // proxy.scrollTo(String(Int(scrollId!)! + 1)) - // currentId = scrollId! - // if (currentId != scrollId!) { DispatchQueue.main.asyncAfter(deadline: .now() + 0.5) { @@ -625,7 +579,7 @@ struct ContentView: View { } ) - Text("DRAG") + Text("DRAG").foregroundColor(Color(UIColor(red: 0.76, green: 0.76, blue: 0.76, alpha: 1.00))) .gesture( DragGesture() .onChanged { gesture in