mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-19 10:43:14 +00:00
width & depth must be equal, not smaller
This commit is contained in:
parent
7fb87ad67f
commit
48f57068d8
@ -28,6 +28,6 @@ public class IrisTreeSize {
|
||||
* @return true if it matches (fits within width and depth)
|
||||
*/
|
||||
public boolean doesMatch(IrisTreeSize size){
|
||||
return (width <= size.getWidth() && depth <= size.getDepth()) || (depth <= size.getWidth() && width <= size.getDepth());
|
||||
return (width == size.getWidth() && depth == size.getDepth()) || (depth == size.getWidth() && width == size.getDepth());
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user