bluecadet / Cinder-BluecadetViews

Scene graph Cinder block with touch management and various tools for UI dev
MIT License
11 stars 3 forks source link

Needs Fix: Size and alpha check in BaseView is too aggressive #117

Open benjaminbojko opened 6 years ago

benjaminbojko commented 6 years ago

This check should be using || and not &&. Currently this causes transparent views to be drawn unnecessarily.

https://github.com/bluecadet/Cinder-BluecadetViews/blob/develop/src/bluecadet/views/BaseView.cpp#L349-L351