add tags and reduce X_BUFFER

This commit is contained in:
Chr1Z93 2023-06-19 15:16:43 +02:00
parent 04b40f0da1
commit 3e5caf0f48
7 changed files with 26 additions and 4 deletions

View File

@ -29,6 +29,11 @@
"Nickname": "Table Divider",
"Snap": true,
"Sticky": true,
"Tags": [
"CameraZoom_ignore",
"CleanUpHelper_ignore",
"displacement_excluded"
],
"Tooltip": false,
"Transform": {
"posX": 0,

View File

@ -29,6 +29,11 @@
"Nickname": "Table Divider",
"Snap": true,
"Sticky": true,
"Tags": [
"CameraZoom_ignore",
"CleanUpHelper_ignore",
"displacement_excluded"
],
"Tooltip": false,
"Transform": {
"posX": -16.807,

View File

@ -29,6 +29,11 @@
"Nickname": "Table Divider",
"Snap": true,
"Sticky": true,
"Tags": [
"CameraZoom_ignore",
"CleanUpHelper_ignore",
"displacement_excluded"
],
"Tooltip": false,
"Transform": {
"posX": -29.99,

View File

@ -29,6 +29,11 @@
"Nickname": "Table Divider",
"Snap": true,
"Sticky": true,
"Tags": [
"CameraZoom_ignore",
"CleanUpHelper_ignore",
"displacement_excluded"
],
"Tooltip": false,
"Transform": {
"posX": 0,

View File

@ -163,7 +163,9 @@
"Snap": false,
"Sticky": true,
"Tags": [
"CleanUpHelper_ignore"
"CameraZoom_ignore",
"CleanUpHelper_ignore",
"displacement_excluded"
],
"Tooltip": true,
"Transform": {

View File

@ -260,7 +260,7 @@ function getDynamicViewBounds(objList)
-- handling for Physics.cast() results
if not obj.type then obj = obj.hit_object end
if not obj.hasTag("CameraZoom_ignore") then
if not obj.hasTag("CameraZoom_ignore") and not obj.hasTag("CampaignLog") then
count = count + 1
local bounds = obj.getBounds()
local x1 = bounds['center'][1] - bounds['size'][1] / 2

View File

@ -15,7 +15,7 @@ local DRAWN_CHAOS_TOKEN_OFFSET = {-1.55, 0.25, -0.58}
-- x-Values for discard buttons
local DISCARD_BUTTON_OFFSETS = {-1.365, -0.91, -0.455, 0, 0.455, 0.91}
local SEARCH_AROUND_SELF_X_BUFFER = 18
local SEARCH_AROUND_SELF_X_BUFFER = 8
-- defined areas for the function "inArea()""
local MAIN_PLAY_AREA = {
@ -153,7 +153,7 @@ function searchArea(origin, size)
type = 3,
size = size,
max_distance = 1,
debug = DEBUG
debug = true
})
end