GE Lua Documentation

Press F to search!

GetScrollMaxY

Definition


-- @/lua/common/extensions/ui/imgui_gen_luaintf.lua:170
function M.GetScrollMaxY() return imgui.GetScrollMaxY() end

Callers

@/lua/ge/extensions/editor/flowgraph/events.lua
    if autoScroll then
      im.SetScrollY(im.GetScrollMaxY())
    end
@/lua/ge/extensions/ui/console.lua

      if forceAutoScroll or (scroll2Bot and scrollMaxPrev ~= im.GetScrollMaxY() ) then
        im.SetScrollY(im.GetScrollMaxY())
      if forceAutoScroll or (scroll2Bot and scrollMaxPrev ~= im.GetScrollMaxY() ) then
        im.SetScrollY(im.GetScrollMaxY())
      end
      end
      scroll2Bot = im.GetScrollMaxY() == im.GetScrollY()
      if scroll2Bot then
      if scroll2Bot then
        scrollMaxPrev = im.GetScrollMaxY()
      end

  --     if forceAutoScroll or (scroll2Bot and scrollMaxPrev ~= im.GetScrollMaxY() ) then
  --       im.SetScrollY(im.GetScrollMaxY())
  --     if forceAutoScroll or (scroll2Bot and scrollMaxPrev ~= im.GetScrollMaxY() ) then
  --       im.SetScrollY(im.GetScrollMaxY())
  --     end
@/lua/ge/extensions/editor/flowgraph/examples.lua
      if cursor.y > im.GetScrollY() + im.GetWindowHeight() then
        im.SetScrollY(math.min(cursor.y - im.GetWindowHeight()/2, im.GetScrollMaxY()))
      end
@/lua/ge/extensions/editor/assetBrowser.lua
  if im.BeginChild1("Assets##AssetMainPanel", im.ImVec2(0, var.assetViewMainPanelHeight), true, im.WindowFlags_NoScrollWithMouse) then
    var.assetViewScrollMax = im.GetScrollMaxY()
    local scrollY = im.GetScrollY()
@/lua/ge/extensions/editor/flowgraph/search.lua
      if cursor.y > im.GetScrollY() + im.GetWindowHeight() then
        im.SetScrollY(math.min(cursor.y - im.GetWindowHeight()/2, im.GetScrollMaxY()))
      end
@/lua/ge/extensions/editor/api/gui.lua
  local clipRectMax = imgui.ImVec2(winPos.x + imgui.GetWindowWidth(), winPos.y + imgui.GetWindowHeight())
  if imgui.GetScrollMaxY() > 0 then -- Doesn't highlight the area under the scrollbar
    clipRectMax.x = clipRectMax.x - mStyle.ScrollbarSize
@/lua/ge/extensions/editor/flowgraph/nodelibrary.lua
      if cursor.y > im.GetScrollY() + im.GetWindowHeight() then
        im.SetScrollY(math.min(cursor.y - im.GetWindowHeight()/2, im.GetScrollMaxY()))
      end
        if cursor.y > im.GetScrollY() + im.GetWindowHeight() then
          im.SetScrollY(math.min(cursor.y - im.GetWindowHeight()/2, im.GetScrollMaxY()))
        end