mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
Relaxed the requirements for a border a little
Former-commit-id: 7cf7e22665fb136fbb0c83737acc7c1ff9d6de0a
This commit is contained in:
parent
020f2dc7d1
commit
c3ba0438df
@ -125,7 +125,7 @@ namespace hyperion
|
||||
inline bool isBlack(const Pixel_T & color)
|
||||
{
|
||||
// Return the simple compare of the color against black
|
||||
return color.red+color.green+color.green == 0;
|
||||
return color.red < 3 && color.green < 3 && color.green < 3;
|
||||
}
|
||||
};
|
||||
} // end namespace hyperion
|
||||
|
Loading…
Reference in New Issue
Block a user