File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed
itext/itext.layout/itext/layout/renderer Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -297,7 +297,6 @@ public virtual T1 GetProperty<T1>(int key) {
297297 ( key ) ) ) {
298298 return ( T1 ) property ;
299299 }
300- // TODO in some situations we will want to check inheritance with additional info, such as parent and descendant.
301300 if ( parent != null && Property . IsPropertyInherited ( key ) && ( property = parent . GetProperty < T1 > ( key ) ) != null
302301 ) {
303302 return ( T1 ) property ;
@@ -1667,7 +1666,6 @@ protected internal virtual void UpdateMinHeight(UnitValue updatedMinHeight) {
16671666 if ( value != null ) {
16681667 if ( value . GetUnitType ( ) == UnitValue . PERCENT ) {
16691668 // during mathematical operations the precision can be lost, so avoiding them if possible (100 / 100 == 1) is a good practice
1670- // TODO Maybe decrease the result value by AbstractRenderer.EPS ?
16711669 return value . GetValue ( ) != 100 ? baseValue * value . GetValue ( ) / 100 : baseValue ;
16721670 }
16731671 else {
Original file line number Diff line number Diff line change 1- 517e37afe61c39f6862def5761354e3a093124bd
1+ 31ca217e8cab592d2350d4b8875a8757bd5d7d8d
You can’t perform that action at this time.
0 commit comments