magefree / magefree/mage

GUI: card's icons and buttons must fully support rotated position (tapped)

Open
#8,432 0 comments 0 reactions 1 assignee Claimed by @JayDi85 View on GitHub
enhancement GUI
Dominant language
Java
Stars
2.4k
Forks
940
Avg merge
2d 12h
Merged PRs (30d)
160

Description

Current card's panel engine doesn't support user interactions for rotated cards. Problems:
* users can't move mouse over icons to see text hints in rotated position;
* users can't press transform and other buttons to view copy or another card side.

![shot_211105_110412](https://user-images.githubusercontent.com/8344157/140471756-36039519-590a-4534-8f73-e9822bc77728.png)

How to fix:
* implement `public boolean contains(int x, int y)` for all panel's components like icons and buttons, see `MageLayer` for example.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.