Skip to content
This repository has been archived by the owner on Jan 5, 2025. It is now read-only.

Commit

Permalink
Update FreeformView.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
Live-Block authored Nov 3, 2024
1 parent 957c0ba commit c4909b9
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,12 @@ class FreeformView(
private var freeformHeight = 0
private var freeformWidth = 0

private var minFreeformHeight = 0
private var minFreeformWidth = 0

private var maxFreeformHeight = 0
private var maxFreeformWidth = 0

// 挂起后与边缘的 Padding
private var screenPaddingX: Int = context.resources.getDimension(R.dimen.freeform_screen_width_padding).roundToInt()
private var screenPaddingY: Int = context.resources.getDimension(R.dimen.freeform_screen_height_padding).roundToInt()
Expand Down

0 comments on commit c4909b9

Please sign in to comment.