From 3e19b430814c7d96bbe417eb8044a31d392249d6 Mon Sep 17 00:00:00 2001 From: junghyun park Date: Mon, 24 Feb 2020 03:50:03 +0900 Subject: [PATCH] xXis height error fix --- README.md | 2 +- app/build.gradle | 4 ++-- .../java/com/islandparadise14/mintable/MinTimeTableView.kt | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index fbc5f02..e3d0076 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ If you only add a course, **the course time is automatically calculated** and ad Timetable Library for Android Development Author : Mint Park / Seoul, South Korea Email : nasamk3@gmail.com -Newest Version : 1.3.2 (JitPack) +Newest Version : 1.3.3 (JitPack) ![Platform](https://img.shields.io/badge/Platform-Android-orange.svg) ![API](https://img.shields.io/badge/API-19%2B-green.svg) diff --git a/app/build.gradle b/app/build.gradle index abe3605..ac331d5 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -13,8 +13,8 @@ android { defaultConfig { minSdkVersion 19 targetSdkVersion 29 - versionCode 9 - versionName "1.3.2" + versionCode 10 + versionName "1.3.3" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } buildTypes { diff --git a/app/src/main/java/com/islandparadise14/mintable/MinTimeTableView.kt b/app/src/main/java/com/islandparadise14/mintable/MinTimeTableView.kt index faff392..a5f5ecc 100644 --- a/app/src/main/java/com/islandparadise14/mintable/MinTimeTableView.kt +++ b/app/src/main/java/com/islandparadise14/mintable/MinTimeTableView.kt @@ -107,7 +107,7 @@ class MinTimeTableView : BaseTimeTable { } fun ratioCellSetting(topMenuHeight: Int, leftMenuWidth: Int, cellRatio: Float) { - this.topMenuHeight = topMenuHeight + this.topMenuHeight = if (border) topMenuHeight+1 else topMenuHeight this.leftMenuWidth = leftMenuWidth this.cellRatio = cellRatio isRatio = true