zhong (钟鹏群) 1 주 전
부모
커밋
127dea1472
3개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. BIN
      src/__pycache__/latest.cpython-310.pyc
  2. 5 0
      src/latest.py
  3. 0 0
      src/print.log

BIN
src/__pycache__/latest.cpython-310.pyc


+ 5 - 0
src/latest.py

@@ -157,6 +157,11 @@ class SquareWindow:
         # Use black text for better contrast against any background
         self.canvas.create_text(center_x, center_y, text=str(number), fill="black", font=("Arial", 10))
         
+        # Draw a line segment at the bottom edge of the square (inside the square) only if size >= 25
+        if size >= 50:
+            line_y = y + size - 20  # Just above the bottom edge of the square
+            self.canvas.create_line(x, line_y, x + size, line_y, fill="black", width=1)
+        
         # Record the square's position information
         self.square_positions[number] = (x, y, size, parent_number)
     

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
src/print.log


이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.