Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/dwm/ext/imgui.ts>imgui.setScrollFromPosY_Float

Deno Window Manager: Cross-platform window creation and management
Go to Latest
function imgui.setScrollFromPosY_Float
import { imgui } from "https://deno.land/x/dwm@0.3.4/ext/imgui.ts";
const { setScrollFromPosY_Float } = imgui;

adjust scrolling amount to make given position visible. Generally GetCursorStartPos() + offset to compute a valid position.

Parameters

local_y: number
optional
center_y_ratio: number = [UNSUPPORTED]