mirror of
https://github.com/nicbarker/clay.git
synced 2025-04-22 06:08:03 +00:00
Compare commits
3 Commits
4dab3260ea
...
6ac96be2dc
Author | SHA1 | Date | |
---|---|---|---|
|
6ac96be2dc | ||
|
a9e94e3be0 | ||
|
cbb50267da |
@ -39,5 +39,5 @@ endif()
|
|||||||
|
|
||||||
# add_subdirectory("examples/cairo-pdf-rendering") Some issue with github actions populating cairo, disable for now
|
# add_subdirectory("examples/cairo-pdf-rendering") Some issue with github actions populating cairo, disable for now
|
||||||
|
|
||||||
add_library(${PROJECT_NAME} INTERFACE)
|
#add_library(${PROJECT_NAME} INTERFACE)
|
||||||
target_include_directories(${PROJECT_NAME} INTERFACE .)
|
#target_include_directories(${PROJECT_NAME} INTERFACE .)
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
2
clay.h
2
clay.h
@ -1670,6 +1670,8 @@ Clay_LayoutElementHashMapItem* Clay__AddHashMapItem(Clay_ElementId elementId, Cl
|
|||||||
hashItem->generation = context->generation + 1;
|
hashItem->generation = context->generation + 1;
|
||||||
hashItem->layoutElement = layoutElement;
|
hashItem->layoutElement = layoutElement;
|
||||||
hashItem->debugData->collision = false;
|
hashItem->debugData->collision = false;
|
||||||
|
hashItem->onHoverFunction = NULL;
|
||||||
|
hashItem->hoverFunctionUserData = 0;
|
||||||
} else { // Multiple collisions this frame - two elements have the same ID
|
} else { // Multiple collisions this frame - two elements have the same ID
|
||||||
context->errorHandler.errorHandlerFunction(CLAY__INIT(Clay_ErrorData) {
|
context->errorHandler.errorHandlerFunction(CLAY__INIT(Clay_ErrorData) {
|
||||||
.errorType = CLAY_ERROR_TYPE_DUPLICATE_ID,
|
.errorType = CLAY_ERROR_TYPE_DUPLICATE_ID,
|
||||||
|
Loading…
Reference in New Issue
Block a user