Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Avoid overlapping layers when grouping

Đang mở
#4,833 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
52/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
rust
Lĩnh vực
design, frontend

Hướng nghiên cứu

Start by reading ModifyInputsContext::create_layer and NodeGraphMessage::MoveLayerToStack, which the issue identifies as relevant to grouping and layer movement. Reproduce the overlap by grouping the top of two rectangles and inspecting the node graph. Add tests for the reported behavior and the related group-dragging cases; done means grouping no longer produces overlapping layers and the tests cover those interactions.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

As reported by Aubéron on discord.

Reproduction
  • New document
  • Draw two rectangles
  • With the top rectangle selected, create a group (Ctrl+G)
  • Open node graph
  • Observe overlapping layers
Video

https://github.com/user-attachments/assets/0390cf28-d79a-4959-9e9f-c2cde04a0e98

Relevant code

See ModifyInputsContext::create_layer and NodeGraphMessage::MoveLayerToStack.

There are probably lots of edge cases that should also be covered such as dragging layers between groups and things.

Please also add tests.

Ngôn ngữ chính
Rust
Star
27.8k
Fork
1.3k
Merge trung bình
17 giờ 32 phút
Pull request đã merge (30 ngày)
171

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

  • Không có Dockerfile hay tệp Docker Compose
  • Có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của GraphiteEditor/Graphite

Tất cả issue của GraphiteEditor/Graphite

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.