Android-Week-View icon indicating copy to clipboard operation
Android-Week-View copied to clipboard

Using a deprecated clipRect() in 1.2.6

Open GoldDiggerRu opened this issue 3 years ago • 2 comments

In the following code in WeekView.java, this line number 591

canvas.clipRect(mHeaderColumnWidth, mHeaderTextHeight + mHeaderRowPadding * 2 + mHeaderMarginBottom + mTimeTextHeight/2, getWidth(), getHeight(), Region.Op.REPLACE);

must be replaced by canvas.clipRect(mHeaderColumnWidth, mHeaderTextHeight + mHeaderRowPadding * 2 + mHeaderMarginBottom + mTimeTextHeight/2, getWidth(), getHeight());

since the usage of Region.Op.REPLACE is no longer supported.

GoldDiggerRu avatar Mar 06 '22 14:03 GoldDiggerRu

This has been addressed in the 2 most recent pull requests, just desperately needs to be merged!

Omnibruce avatar Mar 20 '22 17:03 Omnibruce

Hi, thanks for the reply!

Will this be merged into master and the 1.2.6 release? It seems like the owner hasn't been really active, recently.

GoldDiggerRu avatar Mar 21 '22 21:03 GoldDiggerRu