Skip to content

Commit

Permalink
- Removed unused dep.
Browse files Browse the repository at this point in the history
  • Loading branch information
Zly-u committed Mar 17, 2024
1 parent ef0ab80 commit ecf6b0a
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions Video/VideoAutoFlipper/Zly_VideoAutoFlipper.lua
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,6 @@ local DepsChecker = {
end
}

DepsChecker:AddDepsToCheck(reaper.JS_Dialog_BrowseForOpenFiles, "js_ReaScriptAPI")
DepsChecker:AddDepsToCheck(reaper.ImGui_Begin, "\"ReaImGui: ReaScript binding for Dear ImGui\"")
if not DepsChecker:CheckLibs() then
return
Expand All @@ -224,21 +223,14 @@ end
--[[===================================================]]--

local ImGui = {}
local JS = {}
for name, func in pairs(reaper) do
local name_imgui = name:match('^ImGui_(.+)$')
local name_js = name:match('^JS_(.+)$')

if name_imgui then
ImGui[name_imgui] = func
goto namespace_cont
end

if name_js then
JS[name_js] = func
goto namespace_cont
end

::namespace_cont::
end
local FLT_MIN, FLT_MAX = ImGui.NumericLimits_Float()
Expand Down Expand Up @@ -437,7 +429,7 @@ end
--[[===================================================]]--

local GUI = {
version = "1.0.0",
version = "1.0.2",
name = "Video Auto-Flipper",

timer = 0.0,
Expand Down

0 comments on commit ecf6b0a

Please sign in to comment.