IsMouseDoubleClicked
Definition
-- @/lua/common/extensions/ui/imgui_gen_luaintf.lua:1140
function M.IsMouseDoubleClicked(ImGuiMouseButton_button) return imgui.IsMouseDoubleClicked(ImGuiMouseButton_button) end
Callers
@/lua/ge/extensions/editor/api/gui.lua
if not int_mouse_button then int_mouse_button = 0 end
return imgui.IsItemHovered() and imgui.IsMouseDoubleClicked(int_mouse_button)
end
@/lua/ge/extensions/editor/vehicleDetailViewer.lua
if im.IsMouseDoubleClicked(0) then
view.dragOffset.x = 0
@/lua/ge/extensions/editor/dynamicDecals/textures.lua
if im.IsItemHovered() and im.IsMouseDoubleClicked(0) then
api.setDecalTexturePath("color", filePath)
@/lua/ge/extensions/editor/assetBrowser.lua
end
if im.IsItemHovered() and im.IsMouseDoubleClicked(0) then
var.currentListIndex = var.listIndexCounter
end
if im.IsMouseDoubleClicked(0) then
var.currentListIndex = dir.listIndex
end
if im.IsItemHovered() == true and im.IsMouseDoubleClicked(0) == true then
var.currentListIndex = dir.listIndex
-- Double click on asset in the asset view.
if im.IsMouseDoubleClicked(0) then
doubleClickAsset(file)
-- Double click on asset in the asset view.
if im.IsMouseDoubleClicked(0) then
doubleClickAsset(file)
if im.IsItemHovered() then
if im.IsMouseDoubleClicked(0) then
@/lua/ge/extensions/editor/flowgraph/overview.lua
if im.IsItemHovered() then
if im.IsMouseDoubleClicked(0) then
fge.NavigateToSelection(false, 0.3)
@/lua/ge/extensions/editor/vehicleEditor/staticEditor/vePartTextView.lua
im.TextUnformatted(text)
if im.IsItemHovered() and im.IsMouseDoubleClicked(0) then
_editNode(nodeIdx, node)
@/lua/ge/extensions/editor/mainToolbar.lua
-- Handle double-click to start editing
if im.IsItemHovered() and im.IsMouseDoubleClicked(0) then
startEditingSetName(i)
@/lua/ge/extensions/editor/vehicleEditor/staticEditor/vePartList.lua
--im.tooltip('Double click to select and copy part name to clipboard')
if im.IsItemHovered() and im.IsMouseDoubleClicked(0) then
vEditor.selectedPart = partName
--im.tooltip('Double click to select and copy filename to clipboard')
if im.IsItemHovered() and im.IsMouseDoubleClicked(0) then
vEditor.selectedPart = partName
@/lua/ge/extensions/editor/toolUtilities/polygon.lua
-- Handle the double click event.
if im.IsMouseDoubleClicked(0) and #polygon > 2 then
if doubleClickCallback then
@/lua/ge/extensions/editor/resourceChecker.lua
if im.IsItemClicked(0) then assetTreemapState.selectedPath = path end
if im.IsItemHovered() and im.IsMouseDoubleClicked(0) then explorePath(path) end
end
if im.IsItemClicked(0) then assetTreemapState.selectedPath = n.path end
if im.IsItemHovered() and im.IsMouseDoubleClicked(0) then explorePath(n.path) end
im.NextColumn()
@/lua/ge/extensions/editor/dynamicDecals/fonts.lua
im.tooltip("Double-click to select character as decal texture")
if im.IsItemHovered() and im.IsMouseDoubleClicked(0) then
api.setDecalLayerFontPath(fontDirectory .. fontName .. '.ttf')
@/lua/ge/extensions/editor/dynamicDecals/brushes.lua
im.PopID()
if im.IsItemHovered() and im.IsMouseDoubleClicked(0) then
loadBrush(brush)
@/lua/ge/extensions/editor/sceneTree.lua
if selectableHovered then
if imgui.IsMouseDoubleClicked(0) then
node.renameRequestTime = nil
@/lua/ge/extensions/editor/flowgraph/events.lua
ui_flowgraph_editor.tooltip("Double Click to jump to " .. e.meta.node.name.."/"..e.meta.node.id)
if im.IsItemHovered() and im.IsMouseDoubleClicked(0) then
self.mgr:selectGraph(e.meta.node.graph)
ui_flowgraph_editor.tooltip("Double Click to jump to " .. e.meta.graph.name.."/"..e.meta.graph.id)
if im.IsItemHovered() and im.IsMouseDoubleClicked(0) then
self.mgr:unselectAll()