Definition
-- @/lua/common/extensions/ui/imgui_gen_luaintf.lua:175
function M.SetScrollHereY(float_center_y_ratio)
if float_center_y_ratio == nil then float_center_y_ratio = 0.5 end
imgui.SetScrollHereY(float_center_y_ratio)
end
Callers
@/lua/ge/extensions/editor/dynamicDecals/widgets.lua
if isHighlighted and highlightedWidgets[widgetId].setScroll then
im.SetScrollHereY()
highlightedWidgets[widgetId].setScroll = false
@/lua/common/extensions/ui/imgui_gen_luaintf.lua
if float_center_y_ratio == nil then float_center_y_ratio = 0.5 end
imgui.SetScrollHereY(float_center_y_ratio)
end
@/lua/ge/extensions/editor/dynamicDecals/layerTypes/decal.lua
if highlightSdfProperties.setScroll then
im.SetScrollHereY()
highlightSdfProperties.setScroll = false
@/lua/ge/extensions/editor/dynamicDecalsTool.lua
if section.setScroll == true then
im.SetScrollHereY()
section.setScroll = false
@/lua/ge/extensions/editor/dynamicDecals/docs.lua
setScroll = false
im.SetScrollHereY()
end
@/lua/ge/extensions/editor/masterSpline.lua
if didSplineIdxChange and i == selectedSplineIdx then
im.SetScrollHereY(0.5) -- Scrolls so the selected Master Spline is centered vertically
selectedLayerIdx = 1
@/lua/ge/extensions/editor/roadSpline.lua
if didGroupIdxChange and i == selectedGroupIdx then
im.SetScrollHereY(0.5) -- Scrolls so the selected group is centered vertically
selectedLayerId = nil
@/lua/ge/extensions/editor/biomeTool.lua
shouldUpdateAreasScroll = false
imgui.SetScrollHereY(-20)
end
@/lua/ge/extensions/editor/roadArchitect.lua
if mfe.isRoadIdxChanged and flag then
im.SetScrollHereY()
mfe.isRoadIdxChanged = false
if mfe.isNodeIdxChanged and flag then
im.SetScrollHereY()
mfe.isNodeIdxChanged = false
if mfe.isProfileIdxChanged and flag then
im.SetScrollHereY()
mfe.isProfileIdxChanged = false