BEMSimpleLineGraph icon indicating copy to clipboard operation
BEMSimpleLineGraph copied to clipboard

layoutTouchReport method is called on every changing orientation.

Open canapio opened this issue 10 years ago • 1 comments

Hi! I'm very thank you for this powerful graph source!

But I found some wondering work. - (void)layoutTouchReport method in BEMSimpleLineGraphView.m file is called on every changing orientation.

Following first screenshot is captured at luanching app. Following second screenshot is captured after changing device orietation 6 times. 2016-01-12 8 24 13 2016-01-12 8 24 41

I think - (void)layoutTouchReport must be called at only one time. And if -(void)layoutSubviews method will be called, resize all view when created in - (void)layoutTouchReport.

I'm sorry for low level english. But I'm thanks again about sexy labrary!

canapio avatar Jan 12 '16 11:01 canapio

I'm not quite able to replicate this behavior using the sample app. Could you provide the exact steps taken to produce this issue?

Sam-Spencer avatar Jan 25 '16 03:01 Sam-Spencer